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

Replication errors with 2.3.40



I have a classic master-slave replication scenario with OpenLDAP 2.3.40. I
have some problems with replication, it fails random with error like I
pasted above.

I don't understand with I get "No such attribte..." if the attribute
exists in both servers. I resinchronized the servers manually but the
problem happened again. This errors happens frequently with Samba
attributes, because are the most active.

This LDAP is a Samba password backend.

I pasted the log file and a search in both servers.

----------------------[slave:636.rej]--------------------------------------------
ERROR: No such attribute: modify/delete: sambaAcctFlags: no such value
replica: slave:636
time: 1201645742.0
dn: uid=rrhh,ou=Users,dc=example,dc=com,dc=ar
changetype: modify
delete: sambaAcctFlags
sambaAcctFlags: [ULX        ]
-
add: sambaAcctFlags
sambaAcctFlags: [UX         ]
-
replace: entryCSN
entryCSN: 20080129222902Z#000000#00#000000
-
replace: modifiersName
modifiersName: cn=manager,dc=example,dc=com,dc=ar
-
replace: modifyTimestamp
modifyTimestamp: 20080129222902Z
-

-------------------[ slave log file] ---------------------------------

Jan 29 20:29:03 slave slapd[23738]: conn=213 op=5 RESULT tag=103 err=16
text=modify/delete: sambaAcctFlags: no such value


--------------------[ ldapsearch to master ]--------------------
[root@elcani openldap]# bin/ldapsearch -x -D
"cn=manager,dc=example,dc=com,dc=ar" -w secret -h master  uid=rrhh
sambaAcctFlags
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: uid=rrhh
# requesting: sambaAcctFlags
#

# rrhh, Users, examples.com.ar
dn: uid=rrhh,ou=Users,dc=example,dc=com,dc=ar
sambaAcctFlags: [ULX        ]

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

[root@elcani openldap]# bin/ldapsearch -x -D
"cn=manager,dc=example,dc=com,dc=ar" -w secret -h slave  uid=rrhh
sambaAcctFlags
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: uid=rrhh
# requesting: sambaAcctFlags
#

# rrhh, Users, example.com.ar
dn: uid=rrhh,ou=Users,dc=example,dc=com,dc=ar
sambaAcctFlags: [UX         ]

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


--
Diego Woitasen
XTECH - Soluciones Linux para empresas
(54) 011 5219-0678
~
~
~