diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-02-15 11:53:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:18 -0500 |
commit | 4878c4c782eb34c6ae9732eb6eaf68b45fe89de1 (patch) | |
tree | 2d872b0207ce7b127b190d94c9d367710bb092b4 /source4/dsdb/samdb | |
parent | b92c5d454e0eeae4a75a421bf72c6156ef43171f (diff) | |
download | samba-4878c4c782eb34c6ae9732eb6eaf68b45fe89de1.tar.gz samba-4878c4c782eb34c6ae9732eb6eaf68b45fe89de1.tar.bz2 samba-4878c4c782eb34c6ae9732eb6eaf68b45fe89de1.zip |
r21355: work in child domains, CN=Configuration isn't always under the domain dn
metze
(This used to be commit cdfd4ee8e5202a3df1da2d82b592d8814a3209ba)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/cracknames.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/cracknames.c b/source4/dsdb/samdb/cracknames.c index 02644c78f1..5f1dbd550a 100644 --- a/source4/dsdb/samdb/cracknames.c +++ b/source4/dsdb/samdb/cracknames.c @@ -69,8 +69,8 @@ static enum drsuapi_DsNameStatus LDB_lookup_spn_alias(krb5_context context, stru return DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR; } - service_dn = ldb_dn_new(tmp_ctx, ldb_ctx, "CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration"); - if ( ! ldb_dn_add_base(service_dn, samdb_base_dn(ldb_ctx))) { + service_dn = ldb_dn_new(tmp_ctx, ldb_ctx, "CN=Directory Service,CN=Windows NT,CN=Services"); + if ( ! ldb_dn_add_base(service_dn, samdb_config_dn(ldb_ctx))) { return DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR; } service_dn_str = ldb_dn_alloc_linearized(tmp_ctx, service_dn); |