diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-11-16 18:32:17 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-11-17 10:38:01 +1100 |
commit | 41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e (patch) | |
tree | c2b99329d1dc42e05443bb7b3b3949390debcf93 /source4/dsdb/samdb/ldb_modules/naming_fsmo.c | |
parent | a2a8dc515cca833c442cc3bb4cf90682e8ba147d (diff) | |
download | samba-41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e.tar.gz samba-41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e.tar.bz2 samba-41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e.zip |
s4:dsdb Add 'dsdb_flags' to dsdb_module_search() to enable often-used features
These flags, also on dsdb_module_search_dn() allow us to add commonly
set controls to this pre-packaged blocking search, without rebuilding
the whole function in each caller.
Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/naming_fsmo.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/naming_fsmo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/naming_fsmo.c b/source4/dsdb/samdb/ldb_modules/naming_fsmo.c index 15cad259ce..3a10a604ec 100644 --- a/source4/dsdb/samdb/ldb_modules/naming_fsmo.c +++ b/source4/dsdb/samdb/ldb_modules/naming_fsmo.c @@ -67,8 +67,8 @@ static int naming_fsmo_init(struct ldb_module *module) ldb_module_set_private(module, naming_fsmo); ret = dsdb_module_search_dn(module, mem_ctx, &naming_res, - naming_dn, - naming_attrs); + naming_dn, + naming_attrs, 0); if (ret == LDB_ERR_NO_SUCH_OBJECT) { ldb_debug(ldb, LDB_DEBUG_WARNING, "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)\n"); |