dsdb: Make linked_attributes module GUID based for renames
authorAndrew Bartlett <abartlet@samba.org>
Fri, 11 Jan 2013 05:42:41 +0000 (16:42 +1100)
committerStefan Metzmacher <metze@samba.org>
Sat, 12 Jan 2013 11:52:28 +0000 (12:52 +0100)
commit95c891cf44143e12b2f90047f3fefe6d23c598fd
treeb7582df527becfb0582d7e275ba5114463029c56
parenta8c745a28c3278e9fbee6f802dc340fe660f27ca
dsdb: Make linked_attributes module GUID based for renames

This ensures that when we have the backlink out of sync with the forward link (perhaps due
to another operation that has put the backlink handling in an end-of-transaction
TODO list in repl_meta_data) that we do not error out, we just cope as well as we can.

The GUID is the unique identifier, not the DN.

Andrew Bartlett

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Jan 12 12:52:28 CET 2013 on sn-devel-104
source4/dsdb/samdb/ldb_modules/linked_attributes.c