summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-15 23:49:26 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-16 00:12:09 +1100
commit595982a47517bcae156820b34e7f21e56d2c25e3 (patch)
tree9ce8ee6fad34e3f7ec6530b0216e3aa8bd7a8533
parent9c46f425a231543c20ce9953621e1f077bb7bdec (diff)
downloadsamba-595982a47517bcae156820b34e7f21e56d2c25e3.tar.gz
samba-595982a47517bcae156820b34e7f21e56d2c25e3.tar.bz2
samba-595982a47517bcae156820b34e7f21e56d2c25e3.zip
s4-rootdse: we don't need DSDB_FLAG_OWN_MODULE here
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index 3dcebec183..d5a3499798 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -822,7 +822,7 @@ static int rootdse_enable_recycle_bin(struct ldb_module *module,struct ldb_conte
ldb_msg_add_linearized_dn(msg, "msDS-EnabledFeature", op_feature_msg->dn);
msg->elements[el_count++].flags = LDB_FLAG_MOD_ADD;
- ret = dsdb_module_modify(module, msg, DSDB_FLAG_OWN_MODULE);
+ ret = dsdb_module_modify(module, msg, 0);
if (ret != LDB_SUCCESS) {
ldb_asprintf_errstring(ldb,
"rootdse_enable_recycle_bin: Failed to modify object %s - %s",
@@ -832,7 +832,7 @@ static int rootdse_enable_recycle_bin(struct ldb_module *module,struct ldb_conte
}
msg->dn = op_feature_scope_dn;
- ret = dsdb_module_modify(module, msg, DSDB_FLAG_OWN_MODULE);
+ ret = dsdb_module_modify(module, msg, 0);
if (ret != LDB_SUCCESS) {
ldb_asprintf_errstring(ldb, "rootdse_enable_recycle_bin: Failed to modify object %s - %s",
ldb_dn_get_linearized(op_feature_scope_dn), ldb_errstring(ldb));