[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Syncrepl doesn't delete entries?
Hi all,
In provider:
# provider
moduleload syncprov
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
index entryCSN eq
index entryUUID eq
and ...
ldap01:~# ldapsearch -x -b 'dc=mydomain,dc=com' '(objectclass=*)' |
grep javi
# javi, CAT, Tecnic, mydomain.com
dn: cn=javi,ou=CAT,ou=Tecnic,dc=mydomain,dc=com
cn: javi
# javi, CAT, Tecnic, mydomain.com
dn: uid=javi,ou=CAT,ou=Tecnic,dc=domain,dc=com
uid: javi
cn: javi
homeDirectory: /usr/local/home/javi
but in the consumer:
# consumer
index objectclass,entryCSN,entryUUID eq
syncrepl rid=125
provider=ldap://192.168.10.10:389
type=refreshAndPersist
searchbase="dc=mydomain,dc=com"
filter="(objectClass=*)"
scope=sub
attrs="*"
schemachecking=off
bindmethod=simple
binddn="cn=Manager,dc=mydomain,dc=com"
credentials=<password>
ldap02:/var/lib# ldapsearch -x -b 'dc=mydomain,dc=com' '(objectclass=*)'
| grep javi
# javi, Tecnic, mydomain.com
dn: uid=javi,ou=Tecnic,dc=mydomain,dc=com
uid: javi
cn: javi
homeDirectory: /usr/local/home/javi
# javi, CAT, Tecnic, mydomain.com
dn: cn=javi,ou=CAT,ou=Tecnic,dc=mydomain,dc=com
cn: javi
# javi, CAT, Tecnic, mydomain.com
dn: uid=javi,ou=CAT,ou=Tecnic,dc=mydomain,dc=com
uid: javi
cn: javi
homeDirectory: /usr/local/home/javi
It seems that the info in provider and consumer is diferent.
If I try, for example, to change the password in provider I see that the
value in consumer change automatically. Good.
But it seems if I delete some entries in consumer, these changes are not
reflected in consumer.
¿Where is the problem? ¿How can I debug t?
--
Thanks,
Jordi Espasa Clofent