summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-04 20:34:37 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-04 10:18:10 +0000
commit81e5321f5e6bd2c60a6c6ce3850f98bc18458d44 (patch)
tree1b3bf079b863b610b0402d511bab73ad2953dc3e /source4/dsdb/samdb
parentc5f07d33ae72785877b4675aaaa1b446bed14ea4 (diff)
downloadsamba-81e5321f5e6bd2c60a6c6ce3850f98bc18458d44.tar.gz
samba-81e5321f5e6bd2c60a6c6ce3850f98bc18458d44.tar.bz2
samba-81e5321f5e6bd2c60a6c6ce3850f98bc18458d44.zip
s4-dsdb: use LDB_FLAG_MOD_REPLACE for isDeleted
isDeleted could have been set to FALSE previously Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 10:18:10 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/dsdb/samdb')
-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 907cc4a066..95cd0694fc 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -2612,7 +2612,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;
}
/*