[PATCH] Fix: Failed to remove backlink of memberOf when deleting dsdb_module_search_dn: did not find base dn

Andrej Gessel Andrej.Gessel at janztec.com
Thu Oct 19 15:35:43 UTC 2017


Hello list,

I had some replication issues with Samba 4.7.0 as RODC:
https://lists.samba.org/archive/samba/2017-October/211536.html

Failed to apply records: ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:4218: Failed to remove backlink of memberOf when deleting CN=USER\0ADEL:a1f2a2cc-1179-4734-b753-c121ed02a34c,CN=Deleted Objects,DC=samdom,DC=intern: dsdb_module_search_dn: did not find base dn CN=GROUP\0ADEL:030d0be1-3ada-4b93-8371-927f20923116,CN=Deleted Objects,DC=samdom,DC=intern (0 results): Operations error
Failed to commit objects: WERR_GEN_FAILURE/NT_STATUS_INVALID_NETWORK_RESPONSE

I maybe found the solution for this issue, the search request do not find base dn because DSDB_SEARCH_SHOW_DELETED flag was not set.

Please review.

Thanks
----------------------------------------------------------------------------------------------------------
Andrej Gessel (andrej.gessel at janztec.com<mailto:andrej.gessel at janztec.com>)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-repl_meta_data-Fix-removing-of-backlink-on-deleted-o.patch
Type: application/octet-stream
Size: 1548 bytes
Desc: 0001-repl_meta_data-Fix-removing-of-backlink-on-deleted-o.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171019/080eb9fe/0001-repl_meta_data-Fix-removing-of-backlink-on-deleted-o.obj>


More information about the samba-technical mailing list