This article will show you how to configure the ldap-chpasswd included in the SquirrelMail Change Password plugin. The ldap-chpasswd can change an Active Directory or LDAP server password. If you have not yet installed this plugin, see the SquirrelMail Change Password Howto.
3. Type in yum install perl perl-ldap
from a terminal window. This will install the ldap-chpasswd prerequisites.
4. Go to the /usr/share/squirrelmail/plugin/change_passwd
directory. Check if ldap-chpasswd runs by typing in ./ldap-chpasswd
. You should see your autodetected settings.
5. If any of the autodetected settings are incorrect, copy the file ldap-chpasswd.cfg.sample
and save it as ldap-chpasswd.cfg
. Next edit the ldap-chpasswd.cfg
file and set the correct values.
6. Check your configuration by typing in ./ldap-chpasswd user password
. Replace user
with a valid Active Directory user name and password. You should see the distinguished name of the user.
7. Edit config.php
and set $overridePathToChpasswd
. That’s it, you should now be able to change your Active Directory password from SquirrelMail.
Visit the forum to ask for help or to give a comment.
Posted on 5/19/2008 and last updated on 11/6/2009
Filed under Active Directory , SquirrelMail