Dear list,
here is additional sync log after initially established proper sync and then the consumer openldap service on (solaris, 2,4) is restarted:
6548e39e.034e08ea 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete ou=policies,dc=XXX,dc=XXX,dc=XXX (0) 6548e39e.034e20df 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=ou=people,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.03531484 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259f19cc-0364-103e-83a4-fb52f2a7ef64 6548e39e.035342f7 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete ou=people,dc=XXX,dc=XXX,dc=XXX (0) 6548e39e.03535ec6 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=XXXs-XXXlog,ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.035ec124 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259ee39e-0364-103e-83a3-fb52f2a7ef64 6548e39e.035efcc4 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete cn=XXXs-XXXlog,ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX (0) 6548e39e.035f1afc 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=XXXs-stdlog,ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.036e18c9 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259ea208-0364-103e-83a2-fb52f2a7ef64 6548e39e.036e5935 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete cn=XXXs-stdlog,ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX (0) 6548e39e.036e7b64 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=bumblebee,ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.037a2f6d 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259e6c3e-0364-103e-83a1-fb52f2a7ef64 6548e39e.037a684f 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete cn=bumblebee,ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX (0) 6548e39e.037a811b 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.038059cb 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259e4bfa-0364-103e-83a0-fb52f2a7ef64 6548e39e.03808900 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete ou=XXXernal,ou=groups,dc=XXX,dc=XXX,dc=XXX (0) 6548e39e.0380a041 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=ou=XXXCoreUserGroups,ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.0380d3a7 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete ou=XXXCoreUserGroups,ou=groups,dc=XXX,dc=XXX,dc=XXX (66) 6548e39e.0380e1e6 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=ou=XXXCoreUserGroups,ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.03853087 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259d0650-0364-103e-8399-fb52f2a7ef64 6548e39e.03857156 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.03859fd9 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete ou=groups,dc=XXX,dc=XXX,dc=XXX (66) 6548e39e.0385caeb 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=ou=groups,dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.038a2613 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259cce74-0364-103e-8398-fb52f2a7ef64 6548e39e.038a65ce 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.038a949c 0x7f427ffff640 syncrepl_del_nonpresent: rid=044 be_delete dc=XXX,dc=XXX,dc=XXX (66) 6548e39e.038aa312 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.038f3bc5 0x7f427ffff640 conn=-1 op=0 syncprov_add_slog: adding csn=20231106130048.830030Z#000000#007#000000 to sessionlog, uuid=259c6bb4-0364-103e-8397-fb52f2a7ef64 6548e39e.038f7873 0x7f427ffff640 slap_queue_csn: queueing 0x7f4278114730 20231106130048.830030Z#000000#007#000000 6548e39e.038f907f 0x7f427ffff640 conn=-1 op=0 syncprov_matchops: recording uuid for dn=dc=XXX,dc=XXX,dc=XXX on opc=0x7f4278000c38 6548e39e.0392edc6 0x7f427ffff640 slap_graduate_commit_csn: removing 0x7f4278114730 20231106130048.830030Z#000000#007#000000 6548e59b.082870b4 0x7f427ffff640 do_syncrepl: rid=044 rc -1 retrying
Interesting is that all of the data structure is deleted on provider, *also* the dn's which are not part of the syncrepl configuration:
Config on Consumer - only with one group in syncrepl:
olcSynrepl {0}rid=004 provider=ldaps://xsdfsxcxc01.xxx1.dddds.XXX.yyy.zzz:636 binddn="cn=mmrepl,ou=services,dc=XXX,dc=yyy,dc=zzz" bindmethod=simple credentials=gdfgdfhgdfh123 searchbase="dc=XXX,dc=yyy,dc=zzz" type=refreshAndPersist retry="60 +" filter="(|(&(objectClass=posixGroup)(ou:dn:=XXXCoreUserGroups)))" scope=sub attrs="*,+" schemachecking=off olcSynrepl {1}rid=044 provider=ldaps://dddd04nsgdfgdfhgdfh02.dddd04.dddds.XXX.yyy.zzz:636 binddn="cn=mmrepl,ou=services,dc=XXX,dc=yyy,dc=zzz" bindmethod=simple credentials=gdfgdfhgdfhR6804! searchbase="dc=XXX,dc=yyy,dc=zzz" type=refreshAndPersist retry="60 +" filter="(|(&(objectClass=posixGroup)(ou:dn:=XXXCoreUserGroups)))" scope=sub attrs="*,+" schemachecking=off
Best regards, micha