I have 1000 users I need to change the user passwords to a 'known to admin' password for a migration tool (groupwise to exchange). Admin does not have any of the user passwords. How do I change a batch of user passwords via LDAP or other management protocol when admin does not have the existing user passwords? All users are in the Groupwise LDAP directory and not system level on linux.
You use ldapsearch which is the easiest. The -ZZ assist with authentication which I had to use. ldapsearch -x -ZZ -h localhost -D "cn=admin,o=RealmOrDomain" -b o=RealmOrDomain
will dump just about everything
ldapsearch -x -ZZ -h localhost -D "cn=admin,o=RealmOrDomain" -b o=RealmOrDomain mail |grep mail:
If you need a more specific search