replication rename fixes in 4.1

Kamen Mazdrashki kamenim at samba.org
Wed Apr 16 05:36:42 MDT 2014


Hi,


On Wed, Apr 16, 2014 at 10:51 AM, Stefan (metze) Metzmacher <metze at samba.org
> wrote:

> Am 16.04.2014 09:52, schrieb Andrew Bartlett:
> > On Wed, 2014-04-16 at 08:40 +0200, Stefan (metze) Metzmacher wrote:
> >> Am 14.04.2014 01:06, schrieb Andrew Bartlett:
> >>
> >> No, I only saw it in a production sam.ldb.
> >> But it shouldn't be too hard to reproduce this.
> >
> > 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.
>
> Strange, I thought I have pushed a test for this situation years ago (may
be just thought of pushing, hm)

Cheers,
Kamen


More information about the samba-technical mailing list