Jump to content

LDAP password changes/ update for Qmail Mail server

From TetraWiki


Objective : Update or Change the LDAP Password for the Qmail Based Server


1. Change the password at /etc/openldap/slapd.conf , for eg Gt4&&25Word

change the password on line showing - rootpw

2. Change the password at /var/qmail/control/ladppassword

It is single line Entry , please replace with new password

3. Change it for all other instances of Qmail too ( /var/qmail2/control/ldappassword ..... etc )

4. Change for Ldap auth by Courier IMAP .

change the password in /usr/local/etc/authlib/authldaprc

LDAP_BINDPW             Gt4&&25Word

Then restart the authdaemond , imap and imaps services

/usr/local/sbin/authdaemond stop
/etc/rc.d/init.d/imap  stop
/etc/rc.d/init.d/imaps stop
/usr/local/sbin/authdaemond start
/etc/rc.d/init.d/imaps start
/etc/rc.d/init.d/imaps start


5. Change it in the Squirelmail Plugin , probably at Squirelmail_home/plugin/change_ldappass/config.php .

look for "$ldap_manager_pw=" and replace the old password .