summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-07-06 03:22:28 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-07-08 02:38:32 +0300
commit8c7a6a8dc77fa239aca2283583d3fc858cfb8505 (patch)
tree9816f655dd4f28c0feb584acc88e3aa29837bad0 /source4
parent64c31b7e0ae2085658ad8f5df7791b0343239276 (diff)
downloadsamba-8c7a6a8dc77fa239aca2283583d3fc858cfb8505.tar.gz
samba-8c7a6a8dc77fa239aca2283583d3fc858cfb8505.tar.bz2
samba-8c7a6a8dc77fa239aca2283583d3fc858cfb8505.zip
s4-source4/dsdb/samdb/ldb_modules/schema_load.c Use DSDB_FLAG_NEXT_MODULE flag
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_load.c b/source4/dsdb/samdb/ldb_modules/schema_load.c
index dc3b0604e9..15420181ba 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_load.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_load.c
@@ -172,7 +172,8 @@ static int dsdb_schema_from_db(struct ldb_module *module, struct ldb_dn *schema_
* setup the prefix mappings and schema info
*/
ret = dsdb_module_search_dn(module, tmp_ctx, &schema_res,
- schema_dn, schema_attrs, 0);
+ schema_dn, schema_attrs,
+ DSDB_FLAG_NEXT_MODULE);
if (ret == LDB_ERR_NO_SUCH_OBJECT) {
ldb_reset_err_string(ldb);
ldb_debug(ldb, LDB_DEBUG_WARNING,