[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problem with replication




Hi I am facing problem with replication:

I am using the version openldap-2-3-24
My relevent Master config is :


access to attrs=userPassword
       by self write
       by * auth
access to *
       by self write
       by * read
replica uri=ldap://192.168.128.248:6666
               suffix="dc=nc,dc=com"
               binddn="cn=Replicator,dc=nc,dc=com"
               bindmethod=simple credentials=secret
replogfile /usr/local/var/openldap-data/master-replog

My relevent slave config:
access to *
by "cn=Replicator,dc=nc,dc=com"  write
access to attr=userPassword
       by self write
       by * auth
access to *
       by self write
       by * read
updatedn       "cn=Replicator,dc=nc,dc=com"

With debug of slurpd in the Master it gives the following error: (When I deleted the uid user from the master)
Error: ldap_simple_bind_s for 192.168.128.248:6666 failed: Invalid credentials
Retrying operation for DN uid=nc,ou=People,dc=sca,dc=nc,dc=com on replica 192.168.128.248:6666
request done: ld 0x9c52988 msgid 1


In slave it gives the following error:
conn=1 fd=12 ACCEPT from IP=192.168.128.238:34152 (IP=192.168.128.248:6666)
conn=1 op=0 BIND dn="cn=Replicator,dc=nc,dc=com" method=128
conn=1 op=0 RESULT tag=97 err=49 text=
conn=1 op=1 UNBIND
conn=1 fd=12 closed

How  I troubleshoot more ?

If you require more info ,please let me know

Thanks
Sandeep