AW: [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
Mon Nov 6 11:05:56 UTC 2017


Hello Andrew,

I have filed a BUG to backport the changes to earlier versions.

https://bugzilla.samba.org/show_bug.cgi?id=13120


Thank you!

Andrej

-----Ursprüngliche Nachricht-----
Von: samba-technical [mailto:samba-technical-bounces at lists.samba.org] Im Auftrag von Andrej Gessel via samba-technical
Gesendet: Donnerstag, 2. November 2017 12:11
An: Andrew Bartlett <abartlet at samba.org>; samba-technical at lists.samba.org
Betreff: AW: [PATCH] Fix: Failed to remove backlink of memberOf when deleting dsdb_module_search_dn: did not find base dn

Hello Andrew,



I rebased my patch, corrected spelling error and add Sign-Off-By line.



Additionally I have sent this bug to bugzilla-maintenance at samba.org, because I do not have an Samba bugzilla account.



Thanks



Andrej



________________________________
Von: samba-technical <samba-technical-bounces at lists.samba.org> im Auftrag von Andrej Gessel via samba-technical <samba-technical at lists.samba.org>
Gesendet: Mittwoch, 1. November 2017 10:56
An: Andrew Bartlett; samba-technical at lists.samba.org
Betreff: AW: [PATCH] Fix: Failed to remove backlink of memberOf when deleting dsdb_module_search_dn: did not find base dn

Hi Andrew,

thanks for writing a test. I have to talk to my company first, to be legally safe. I will resend patch, when I get the answer.


Andrej

-----Ursprüngliche Nachricht-----
Von: Andrew Bartlett [mailto:abartlet at samba.org]
Gesendet: Dienstag, 31. Oktober 2017 02:32
An: Andrej Gessel <Andrej.Gessel at janztec.com>; samba-technical at lists.samba.org
Betreff: Re: [PATCH] Fix: Failed to remove backlink of memberOf when deleting dsdb_module_search_dn: did not find base dn

On Thu, 2017-10-19 at 15:35 +0000, Andrej Gessel via samba-technical
wrote:
> 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>)

Thanks for your patience with this.  I've written the test, but can you just please reply that you are happy for me to add your Signed-off-by to the patch, or better still send it back with that on it?

If you have not yet, please also follow the contributing steps on the wiki.

Finally, if you would like this in Samba 4.7, please open a bug.

Thanks!

Andrew Bartlett

--
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT https://catalyst.net.nz/services/samba





More information about the samba-technical mailing list