summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-31 10:47:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-31 14:15:29 +0200
commit6d1b8ff8a7b803601f8142396e659d0f1dbef331 (patch)
treec427fe00ba1a3941b284c5b1a70e7de1e116094a /source4
parentfcb54ca25f0a28940d239c457ef1a295d6e5e325 (diff)
downloadsamba-6d1b8ff8a7b803601f8142396e659d0f1dbef331.tar.gz
samba-6d1b8ff8a7b803601f8142396e659d0f1dbef331.tar.bz2
samba-6d1b8ff8a7b803601f8142396e659d0f1dbef331.zip
s4-dsdb: Replace any existing lastKnownParent attribute during delete
This allows a lastKnownParent from LostAndFound to be replaced. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 91bc6c9511..4bfbee1760 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -2987,7 +2987,7 @@ static int replmd_delete(struct ldb_module *module, struct ldb_request *req)
talloc_free(tmp_ctx);
return ret;
}
- msg->elements[el_count++].flags = LDB_FLAG_MOD_ADD;
+ msg->elements[el_count++].flags = LDB_FLAG_MOD_REPLACE;
}
switch (next_deletion_state){