Setting up user "Password expiration interval" using LDIF

  • 7006906
  • 24-Sep-2010
  • 26-Apr-2012

Environment

Novell eDirectory 8.5.x for All Platforms
Novell eDirectory 8.6.x for All Platforms
Novell eDirectory 8.7.3.x for All Platforms
Novell eDirectory 8.8.x for All Platforms
 
 

Situation

Setting up user "Password expiration interval" for multiple eDirectory users
 
 

Resolution

#This LDIF file was generated by Novell's ICE and the LDIF destination handler.
version: 1

dn:cn=Mark,ou=ISC.ou=NTS.o=Novell
Changetype: modify
Replace: passwordexpirationinterval
passwordexpirationinterval: 3888000
-
Replace: passwordexpirationtime
passwordexpirationtime: 20101112163300Z

Additional Information

Note: The above example shows how to set up password expiry interval for 45 days for the specified user.

Export all the users from the tree first and then use Perl script or any other method to populate the attributes for multiple users.