Nov.LDAP.SetSimplePassword
Top  Previous  Next


Sets NetWare simple password (hash)

A connection must be established with Nov.LDAP.Logon before the Nov.LDAP.SetSimplePassword command can be used.

Tip: use Nov.DS.Account.SetPassword to set ordinary or universal passwords.

Category
Novell

Script section
[Batch], inside Data.Loop..EndLoop statement

Nov.LDAP.SetSimplePassword
LDAPAccountPath, Password

LDAPAccountPath
Full LDAP path to account  
 
Notice that the LDAP path differs from the NDS path used in the Nov.DS commands, see below examples  

Password
Clear text password or hash  

Examples
Set password for account AccountName1 with NDS path OAK\MyOrg\MyOU\OU3\AccountName1

Nov.LDAP.SetSimplePassword o=MyOrg/ou=myOU/ou=OU3/cn=AccountName1, password

Use the NDpathToLDAP function to convert from NDS path to LDAP path

Nov.LDAP.SetSimplePassword NDpathToLDAP(OAK\MyOrg\MyOU\OU3\AccountName1), password