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

Replication troubles



Hi. Alright, I am beating my head into a wall. 

Here's my master slapd config:


replica host=tux.docisp.com:389
        binddn=cn=admin,dc=ldap,dc=docisp,dc=com
        bindmethod=simple
replogfile /var/run/openldap-replog



And here's my slave slapd config: 

updatedn "cn=admin,dc=ldap,dc=docisp,dc=com"

Now, when slurpd is trying MOD operation, the slave comes back with
err=32:

Jul 18 11:36:51 tux slapd[8823]: conn=18 op=3 MOD dn="RID=FOOFOO,O=FREEMASONS,DC=LDAP,DC=DOCISP,DC=COM"
Jul 18 11:36:51 tux slapd[8823]: conn=18 op=3 RESULT err=32 tag=103 nentries=0

But when the exact same modification is done locally, everything's moot:

Jul 18 11:46:17 tux slapd[8900]: conn=4 op=2 MOD dn="RID=FOOFOO,O=FREEMASONS,DC=LDAP,DC=DOCISP,DC=COM"
Jul 18 11:46:17 tux slapd[8880]: conn=4 op=-1 fd=12 closed errno=0
Jul 18 11:46:17 tux slapd[8900]: conn=4 op=2 RESULT err=0 tag=103 nentries=0
Jul 18 11:46:17 tux slapd[8901]: conn=4 op=3 UNBIND


Any slightest idea what's wrong? I also noticed that sometimes afterthe slapd
is shut down, the .dbb files are gone. 

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.