|
Hi List, I have trouble with my fresh setup openLDAP Master/Slave sync. The slave stops syncing every few hours with the message shown below. If I restart the slave things start working again. I monitored the network connectivity between th hosts and there is no issue with that. Debug output running slapd -d 256 -d 128 /var/log/syslog Ubuntu 16.04.4 openLDAP 2.4.42 (from Ubuntu repository) on both servers. I setup the sync using these LDIFs on the master. dn:
olcDatabase={1}mdb,cn=configchangetype:
modifydelete:
olcAccessolcAccess:
{0}-add:
olcAccessolcAccess:
{0}to
attrs=userPassword,shadowLastChange by
dn="cn=admin,dc=domain,dc=com" write by
dn="cn=replicator,dc=domain,dc=com" write by
self write by
anonymous auth by *
none-delete:
olcAccessolcAccess:
{2}-add:
olcAccessolcAccess:
{2}to
* by
dn="cn=admin,dc=domain,dc=com" manage by
dn="cn=replicator,dc=domain,dc=com" manage by
self write by
anonymous auth by
users read
dn:
cn=module{0},cn=configchangetype:
modifyadd:
olcModuleLoadolcModuleLoad: syncprov.la
dn:
olcDatabase={1}mdb,cn=configchangetype:
modifyadd:
olcDbIndexolcDbIndex:
entryUUID,entryCSN eq
dn:
olcOverlay=syncprov,olcDatabase={1}mdb,cn=configchangetype:
addobjectClass:
olcOverlayConfigobjectClass:
olcSyncProvConfigolcOverlay:
syncprov
On the Slave I imported these LDIFs dn:
cn=module{0},cn=configchangetype:
modifyadd:
olcModuleLoadolcModuleLoad: syncprov.la
dn:
olcDatabase={1}mdb,cn=configchangetype:
modifyadd:
olcDbIndexolcDbIndex:
entryUUID,entryCSN eq
dn:
olcDatabase={1}mdb,cn=configchangetype:
modifyadd:
olcSyncReplolcSyncRepl:
rid=001 bindmethod=simple binddn="cn=replicator,dc=domain,dc=com" credentials=PASSWORD searchbase="dc=domain,dc=com" scope=sub schemachecking=on type=refreshAndPersist retry="30 5 300 3" interval=00:00:00:30 starttls=yes tls_reqcert=allowI'm really new to openLDAP so please let me know how to provide additional Info if you need them. Thanks and best regards, |