s4-drs: cope with dupliate linked attributes
commitc2139e8e5646a8558d70c1ca4ce2d755497de8e1
authorAndrew Tridgell <tridge@samba.org>
Fri, 18 Sep 2009 21:10:42 +0000 (18 14:10 -0700)
committerAndrew Tridgell <tridge@samba.org>
Fri, 18 Sep 2009 21:11:30 +0000 (18 14:11 -0700)
tree9f400d977baa55edc70fa39e1346fb2dda975a27
parent8dffa2300b633f5eaaef76627ef63705ab03d62f
s4-drs: cope with dupliate linked attributes

With a w2k8-R2 DC, we sometimes get linked attribute updates via DRS
which are duplicates of entries that we already have. We need to cope
with this by using a remove/add pair in the ldb_modify() to avoid a
"entry already exists" error
source4/dsdb/samdb/ldb_modules/repl_meta_data.c