s4-rootdse: we don't need DSDB_FLAG_OWN_MODULE here
authorAndrew Tridgell <tridge@samba.org>
Mon, 15 Feb 2010 12:49:26 +0000 (23:49 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 15 Feb 2010 13:12:09 +0000 (00:12 +1100)
source4/dsdb/samdb/ldb_modules/rootdse.c

index 3dcebec18396fb339b238fbb3bd4e3ac19d0148e..d5a3499798fea1c72be8be3834722e7c4746993b 100644 (file)
@@ -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));