replication rename fixes in 4.1

Stefan (metze) Metzmacher metze at samba.org
Wed Apr 16 03:01:22 MDT 2014


Hi Andrew,

>> What steps do you think are required?
> 
> From the commit message of
> https://git.samba.org/abartlet/samba.git/?p=abartlet/samba.git/.git;a=commitdiff;h=4576e346ad3a114bde3d5200920aaccbfb34bb6c
> 
> With older Samba versions (4.0.x) the following could happen:
> 
> - On account was created on DC1
> - It was replicated to DC2
> - The connection between the dcs is offline
> - The account gets modified on DC2
> - The account gets deleted on DC1
> - The connection becomes online again
> - DC1 replicates the modification from DC2,
>   this resets the dn to the original value.
>   'name' and 'cn' are correct (with '\nDEL${GUID}'),
>   but 'dn' is wrong.
> - DC2 replicates the deletion from DC1.
>   this doesn't include a changed dn as DC1
>   had a bug.
>   'name' is correct (with '\nDEL${GUID}'),
>   but 'cn' and 'dn' are wrong.

Maybe a test in source4/torture/drs/python/delete_object.py
already does more or less the above, or we could add a new test.

> I also noticed that we still have problems in that area,
> see https://git.samba.org/autobuild.flakey/2014-04-12-1407/samba.stdout
> I saw this from time to time...

This is also source4/torture/drs/python/delete_object.py...

metze


More information about the samba-technical mailing list