summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-06-28 21:28:10 +0300
committerAndrew Bartlett <abartlet@samba.org>2010-07-02 10:07:53 +1000
commit7c653c429a7d31d00620fc8cfda913a814c1048f (patch)
tree96f2396543bdcad20a4ae1ead515c0a7dd2b5662 /source4/dsdb/samdb
parent0e023f23408df71aa3ad24f0a78cfead44d63d4b (diff)
downloadsamba-7c653c429a7d31d00620fc8cfda913a814c1048f.tar.gz
samba-7c653c429a7d31d00620fc8cfda913a814c1048f.tar.bz2
samba-7c653c429a7d31d00620fc8cfda913a814c1048f.zip
s4-source4/dsdb/samdb/ldb_modules/samldb.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index 5b7e4bea07..70a6fd22c1 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -635,7 +635,8 @@ static int samldb_add_handle_msDS_IntId(struct samldb_ctx *ac)
ret = dsdb_module_search(ac->module, ac,
&ldb_res,
- schema_dn, LDB_SCOPE_ONELEVEL, NULL, 0,
+ schema_dn, LDB_SCOPE_ONELEVEL, NULL,
+ DSDB_FLAG_NEXT_MODULE,
"(msDS-IntId=%d)", msds_intid);
if (ret != LDB_SUCCESS) {
ldb_debug_set(ldb, LDB_DEBUG_ERROR,
@@ -1020,7 +1021,7 @@ static int samldb_schema_info_update(struct samldb_ctx *ac)
return LDB_ERR_OPERATIONS_ERROR;
}
- werr = dsdb_module_schema_info_update(ac->module, schema, 0);
+ werr = dsdb_module_schema_info_update(ac->module, schema, DSDB_FLAG_NEXT_MODULE);
if (!W_ERROR_IS_OK(werr)) {
ldb_debug_set(ldb, LDB_DEBUG_FATAL,
"samldb_schema_info_update: "
@@ -1118,7 +1119,7 @@ static int samldb_prim_group_change(struct samldb_ctx *ac)
return ret;
}
- ret = dsdb_module_modify(ac->module, msg, 0);
+ ret = dsdb_module_modify(ac->module, msg, DSDB_FLAG_NEXT_MODULE);
if (ret != LDB_SUCCESS) {
return ret;
}
@@ -1133,7 +1134,7 @@ static int samldb_prim_group_change(struct samldb_ctx *ac)
return ret;
}
- ret = dsdb_module_modify(ac->module, msg, 0);
+ ret = dsdb_module_modify(ac->module, msg, DSDB_FLAG_NEXT_MODULE);
if (ret != LDB_SUCCESS) {
return ret;
}