[PATCH] Use GUIDs for rename handling in linked_attributes

Andrew Bartlett abartlet at samba.org
Fri Jan 11 04:48:21 MST 2013


Metze,

I noticed in the failed autobuild logs from your first attempt to push
my summer-of-patches branch that we would error out due to the
linked_attributes module trying to update a DN that wasn't currently in
the database.

This of course shouldn't happen - forward and back links should always
point at the right things, but it can happen mid-transaction if a
replication contains both a modify and a rename, for example.

Anyway, this patch changes all the comparisons to be GUID based, so that
no matter how out of date the links DNs are, we always update the right
record.

This passes an autobuild, but it doesn't seem to be enough to get my
other changes to pass.

If you could review and push if you think it's OK, I would appreciate
it.

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsdb-Make-linked_attributes-module-GUID-based-for-re.patch
Type: text/x-patch
Size: 7319 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130111/d6d71eed/attachment.bin>


More information about the samba-technical mailing list