diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-08-25 07:32:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:45 -0500 |
commit | b21b119cbcff175453173d7061e3be3888dc8ec3 (patch) | |
tree | a83ace4202a076adc4cdbcf772c4da2ba82fdcf5 /source4/dsdb/samdb/ldb_modules | |
parent | 0fd98079425cff37c45be824ffa2695458ff12f3 (diff) | |
download | samba-b21b119cbcff175453173d7061e3be3888dc8ec3.tar.gz samba-b21b119cbcff175453173d7061e3be3888dc8ec3.tar.bz2 samba-b21b119cbcff175453173d7061e3be3888dc8ec3.zip |
r17824: add a wrapper for the common partitions_basedn calculation
(This used to be commit 09007b0907662a0d147e8eb21d5bdfc90dbffefc)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/password_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 273cc60c30..e8b9307cf5 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -489,7 +489,7 @@ static int build_domain_data_request(struct ph_context *ac) return LDB_ERR_OPERATIONS_ERROR; } ac->dom_req->operation = LDB_SEARCH; - ac->dom_req->op.search.base = samdb_base_dn(ac); + ac->dom_req->op.search.base = ldb_auto_basedn(ac->module->ldb); ac->dom_req->op.search.scope = LDB_SCOPE_SUBTREE; filter = talloc_asprintf(ac->dom_req, "(&(objectSid=%s)(|(objectClass=domain)(objectClass=builtinDomain)))", |