Hello!
I’m a newbie to openldap and I am trying to set up a replication openldap server following the guide at http://www.ibm.com/developerworks/linux/library/l-openldap/ . After configuration, slapd and slurpd started successfully but when I tried to use the slurpd –d 65535 command, the following error message pop up:
Error: ldap_simple_bind_s for 10.0.11.6:389 failed: Invalid credentials
The configurations of slapd.conf are as follow:
Master:
replogfile /var/lib/ldap/replog
replica uri=ldap://10.0.11.6
binddn=”cn=Mananger,dc=example,dc=com”
bindmethod=simple
credentials=testing
Slave:
updatedn “cn=Manager,dc=example,dc=com”
updateref ldap://10.0.11.5
The “cn=Manager,dc=example,dc=com” is the rootdn of both master and slave servers and I can use the password “testing” to successfully authenticates commands such as ldapsearch on both machines. What possibly could be the problem?
Any help is greatly appreciated. Thanks!
Sincerely,
Yao Mingxi