s4-dsdb: when replacing linked attribute take always the new dn as the old dn might...
authorMatthieu Patou <mat@matws.net>
Sun, 3 Jul 2011 18:21:29 +0000 (22:21 +0400)
committerAndrew Tridgell <tridge@samba.org>
Mon, 11 Jul 2011 04:32:44 +0000 (14:32 +1000)
commit6ec46309c3b1b766a23cd0327bcf7ff9f661fdf2
tree361de18a9368a9c6b862462c302c474c3c234383
parent3764b93b7c9df4bcc03e4fbf2e1acb5f7a3d268d
s4-dsdb: when replacing linked attribute take always the new dn as the old dn might be broken

The usual use case is that you have a not complete linked attribute (ie.
without the SID) if we keep using the old dn, then the SID will never be
added.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c