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
binddn=”cn=Mananger,dc=example,dc=com”
Did you cut and paste that from Word into slapd.conf? There's some weird high characters there, and I doubt they belong there. Try again using a real text editor.
Anyway, you can try at the command line:
slurpd$ ldapwhoami -H ldap://10.0.11.6/ -w testing -D "cn=Manager,dc=example,dc=com"
to make sure that your credentials and DN are OK.
what version of openldap are you using?
from de ldap admin guide: "*Slurpd* replication has been deprecated in favor of Syncrepl replication and has been completely removed from OpenLDAP 2.4."
I think you should try Syncrepl.
http://www.openldap.org/doc/admin24/replication.html#Push%20Based
Regards
On Thu, Jun 12, 2008 at 1:46 AM, Yao Mingxi yaomingxi@gmail.com wrote:
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
openldap-software@openldap.org