s4-repl: use GUID to resolve target in linked attributes
authorAndrew Tridgell <tridge@samba.org>
Fri, 25 Sep 2009 03:15:11 +0000 (20:15 -0700)
committerAndrew Tridgell <tridge@samba.org>
Mon, 28 Sep 2009 00:23:47 +0000 (10:23 +1000)
commita130ad27c4d913f9d8a8f4bf3fde6c44ba33587d
tree44506708319b0e42f28880910f2c81d31da06867
parentd515b6e3265f61a8eaeaaa7b3afc1e536fb216ef
s4-repl: use GUID to resolve target in linked attributes

When we vampire from w2k8-r2, the DC sends us a linked attribute for
our machine account which has a target DN with a GUID of the OU=Domain
Controllers objects, but has a DN of CN=Computers. We need to use the
GUID to resolve the real DN.
source4/dsdb/samdb/ldb_modules/repl_meta_data.c