Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Settings passwords for multiple users.

Status
Not open for further replies.

eleroux

IS-IT--Management
May 29, 2003
6
0
0
ZA
How do I successfully set password for multiple users?
 
eleroux,

one what is to setup an ldif file with the username and password and then use the NW utilities to import that file into the directory. How many users? What version of NW, NDS?

hunterfs
 
If a user password is set in an LDIF transaction, then other password attributes should be set in a separate transaction. See the example below -

Code:
version: 1

dn: cn=testuser,ou=test,o=novell
changetype: add
uid: testuser
Language: ENGLISH
sn: test
userPassword: abcdefg12
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: ndsLoginProperties
objectClass: top
cn: testuser

dn: cn=testuser,ou=test,o=novell
changetype: modify
add: passwordExpirationTime
passwordExpirationTime: 20020720183500Z
-
add: passwordExpirationInterval
passwordExpirationInterval: 9456000
-
add: passwordRequired
passwordRequired: TRUE
-
add: passwordUniqueRequired
passwordUniqueRequired: TRUE
-
add: passwordMinimumLength
passwordMinimumLength: 9


=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt Certified nut case [rainbow]
Senior Network Engineer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top