Reset Password of ldap Users

Hi ,I am using Directory Server 5.2 Version. My query is:- How I can reset password of large number of users in Ldap.Help Required.TIA Nawaz
[182 byte] By [Nawaz_ita] at [2007-11-27 7:00:15]
# 1

Write an LDIF file that contains all the Modifications.

You need to know the DNs of all the entries for which you want to reset the password.

Then for each DN create a record (single line separation between the records)

dn: cn=John,dc=example,dc=com

changetype: modify

replace: userPassword

userPassword: changeme!

-

dn: <another DN...>

...

Regards,

Ludovic.

ludovicpa at 2007-7-12 18:50:56 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
Hi ,Editing the ldif file for large number of users is a cumbersome process.Is there any command which will pick up the users from the specified list?Thanks in Advance.Nawaz
Nawaz_ita at 2007-7-12 18:50:56 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
Writing a simple perl script to read the username from your list and then create the lidf file is the best way. Once the script is written it would only take a few seconds to create the file.
gpeck1a at 2007-7-12 18:50:56 > top of Java-index,Web & Directory Servers,Directory Servers...