Unable to set password expiration through LDAP with LDIF files
(Last modified: 26Apr2002)
This document (10070392) is provided subject to the disclaimer at the end of this document.
fact
Novell eDirectory 8.5
Novell eDirectory 8.6
symptom
Unable to set password restriction attributes through LDAP with LDIF files
cause
Whenever a password is set, other password attributes are effected.
fix
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 -
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
document
Document Title: | Unable to set password expiration through LDAP with LDIF files |
Document ID: | 10070392 |
Solution ID: | NOVL78007 |
Creation Date: | 25Apr2002 |
Modified Date: | 26Apr2002 |
Novell Product Class: | Novell Directory Services |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.