[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Facing ldap_sasl_bind_s failed (-1) error for N-way Multimaster ldap replication
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: Facing ldap_sasl_bind_s failed (-1) error for N-way Multimaster ldap replication
- From: Shamika Joshi <shamika.joshi@gmail.com>
- Date: Thu, 15 Apr 2010 13:07:28 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=v2K+5/7B2Ig5WQa5O1Fl6kRem9Mz11TjVlkjc+f6OH0=; b=G6QYf1mT38ovYdWrS9jZW73m81AJdpTm88HQHdKza/sViYpX+RA0V8qlRtaTrzx08C GczHqJI8Gmdth0wW6Z5j1ik43WRUmYls3eFVkPDlZWV5iFi2BpizzuG4KqhApL3J/t6n hwQ4+NtUYV6gAMY+Z/Kz2BrG74ukJNSPU/Z6k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xCS90IyZfrVRjJV/fCG4otwGClSkOatN5vrX3Lo9Wr/pS0MZ63IccJ+IB92FJy2vvI FLlRRMGDN8jSJm3liTlSxyP2gqQ6VfZvXVOp//FJx1hiFO+2UNvlsjoP2NVIogqVjgaT VjUuSWP6PzAAtErPoeIBA6+d8DUFPRSYR5UXE=
I'm seeing following erros in syslog after I was done with N-way Multimaster ldap replication. I following these links exactly to configure my master & slave servers
http://www.openldap.org/doc/admin24/replication.html#N-Way%20Multi-Master
https://help.ubuntu.com/9.10/serverguide/C/openldap-server.html
Apr 15 00:28:08 x6 slapd[5783]: slap_client_connect: URI=ldap://x6.testlab.com DN="cn=admin,cn=config" ldap_sasl_bind_s failed (49)
Apr 15 00:28:08 x6 slapd[5783]: do_syncrepl: rid=001 rc 49 retrying (1 retries left)
Apr 15 00:28:08 x6 slapd[5783]: slap_client_connect: URI=ldap://x6slave.testlab.com DN="cn=admin,cn=config" ldap_sasl_bind_s failed (-1)
Apr 15 00:28:08 x6 slapd[5783]: do_syncrepl: rid=002 rc -1 retrying (1 retries left)
While troubleshooting ldap_sasl_bind_s failed (-1) error in my syslog for ldap replication, I have also ended adding wrong olcSyncrepl entries as shown in snapshot below. How should I go about removing these entries from my cn=config? Could anyone give me an example?
Thanks
Shamika
dn: olcDatabase={0}config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcRootDN: cn=admin,cn=config
olcRootPW: {CRYPT}7hzU8RaZxaGi2
olcSyncrepl: {0}rid=001 provider=ldap://x6.testlab.com binddn="cn=admin,cn=con
fig" bindmethod=simple credentials=1234 searchbase="cn=config" type=refreshAn
dPersist retry="5 5 300 5" timeout=1
olcSyncrepl: {1}rid=002 provider=ldap://x6slave.testlab.com binddn="cn=admin,c
n=config" bindmethod=simple credentials=1234 searchbase="cn=config" type=refr
eshAndPersist retry="5 5 300 5" timeout=1
olcSyncrepl: {2}rid=001 provider=ldap://x6.testlab.com binddn="cn=admin,dc=tes <====
tlab,dc=com" bindmethod=simple credentials=secret searchbase="cn=config" type
=refreshAndPersist retry="5 5 300 5" timeout=1
olcSyncrepl: {3}rid=002 provider=ldap://ldap02.example.com binddn="cn=admin,dc <====
=testlab,dc=com" bindmethod=simple credentials=secret searchbase="cn=config"
type=refreshAndPersist retry="5 5 300 5" timeout=1
olcSyncrepl: {4}rid=001 provider=ldap://x6.testlab.com binddn="cn=admin,cn=con <====
fig" bindmethod=simple credentials=secret searchbase="cn=config" type=refresh
AndPersist retry="5 5 300 5" timeout=1
olcSyncrepl: {5}rid=002 provider=ldap://x6slave.testlab.com binddn="cn=admin,c <====
n=config" bindmethod=simple credentials=secret searchbase="cn=config" type=re
freshAndPersist retry="5 5 300 5" timeout=1
olcMirrorMode: TRUE
dn: olcOverlay={0}syncprov,olcDatabase={0}config,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {0}syncprov
dn: olcOverlay={1}syncprov,olcDatabase={0}config,cn=config <====
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {1}syncprov
dn: olcOverlay={2}syncprov,olcDatabase={0}config,cn=config <====
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {2}syncprov
dn: olcOverlay={3}syncprov,olcDatabase={0}config,cn=config<====
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {3}syncprov
dn: olcOverlay={4}syncprov,olcDatabase={0}config,cn=config<====
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {4}syncprov
dn: olcOverlay={5}syncprov,olcDatabase={0}config,cn=config<====
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {5}syncprov