diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-08-22 20:50:07 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-08-22 20:50:07 +1000 |
commit | 53ecaf4a4251a83eb017ebe5db447ecc98944793 (patch) | |
tree | 5b51fcbc5fffed66f28f3696258b7a5fdbca0892 /source4/cldap_server | |
parent | e80876ef9ef1a82d1bc342ce50a73ab17a336808 (diff) | |
download | samba-53ecaf4a4251a83eb017ebe5db447ecc98944793.tar.gz samba-53ecaf4a4251a83eb017ebe5db447ecc98944793.tar.bz2 samba-53ecaf4a4251a83eb017ebe5db447ecc98944793.zip |
fixed the DomainDNS searches in the netlogon code
(This used to be commit 7dce38f9897df02073132f18b1021e0d0636590c)
Diffstat (limited to 'source4/cldap_server')
-rw-r--r-- | source4/cldap_server/netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index d4242061f4..0b146b3c7d 100644 --- a/source4/cldap_server/netlogon.c +++ b/source4/cldap_server/netlogon.c @@ -182,7 +182,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx, ret = ldb_search_exp_fmt(sam_ctx, mem_ctx, &dom_res, NULL, LDB_SCOPE_SUBTREE, dom_attrs, - "(&(objectCategory=Domain-DNS)(objectGUID=%s))", + "(&(objectCategory=DomainDNS)(objectGUID=%s))", ldb_binary_encode(mem_ctx, guid_val)); } else { /* domain_sid case */ struct dom_sid *sid; @@ -199,7 +199,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx, ret = ldb_search_exp_fmt(sam_ctx, mem_ctx, &dom_res, NULL, LDB_SCOPE_SUBTREE, dom_attrs, - "(&(objectCategory=Domain-DNS)(objectSID=%s))", + "(&(objectCategory=DomainDNS)(objectSID=%s))", ldb_binary_encode(mem_ctx, sid_val)); } |