Jump to content

LDAP password changes/ update for Qmail Mail server: Difference between revisions

From TetraWiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
3. Change it for all other instances of Qmail too ( /var/qmail2/control/ldappassword ..... etc )
3. Change it for all other instances of Qmail too ( /var/qmail2/control/ldappassword ..... etc )


4. Change it in the Squirelmail Plugin , probably at Squirelmail_home/plugin/change_ldappass/config.php .
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 .
look for "$ldap_manager_pw=" and replace the old password .

Latest revision as of 12:03, 4 September 2013


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 .