summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-06-28 21:27:51 +0300
committerAndrew Bartlett <abartlet@samba.org>2010-07-02 10:07:48 +1000
commit0e023f23408df71aa3ad24f0a78cfead44d63d4b (patch)
tree6394e2a8743c68bc9e47bc9ce35a4dcfa342c58d /source4/dsdb/samdb/ldb_modules
parent30a69eb4a0cf61cc21c11bbb71494aae57bfe139 (diff)
downloadsamba-0e023f23408df71aa3ad24f0a78cfead44d63d4b.tar.gz
samba-0e023f23408df71aa3ad24f0a78cfead44d63d4b.tar.bz2
samba-0e023f23408df71aa3ad24f0a78cfead44d63d4b.zip
s4-source4/dsdb/samdb/ldb_modules/samba3sid.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samba3sid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samba3sid.c b/source4/dsdb/samdb/ldb_modules/samba3sid.c
index 76848eb258..b4dbd4af02 100644
--- a/source4/dsdb/samdb/ldb_modules/samba3sid.c
+++ b/source4/dsdb/samdb/ldb_modules/samba3sid.c
@@ -52,7 +52,9 @@ static int samba3sid_next_sid(struct ldb_module *module,
const char *sambaSID;
ret = dsdb_module_search(module, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE,
- attrs, DSDB_SEARCH_SEARCH_ALL_PARTITIONS,
+ attrs,
+ DSDB_FLAG_NEXT_MODULE |
+ DSDB_SEARCH_SEARCH_ALL_PARTITIONS,
"(&(objectClass=sambaDomain)(sambaDomainName=%s))",
lp_sam_name(ldb_get_opaque(ldb, "loadparm")));
if (ret != LDB_SUCCESS) {