From 53ecaf4a4251a83eb017ebe5db447ecc98944793 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Aug 2008 20:50:07 +1000 Subject: fixed the DomainDNS searches in the netlogon code (This used to be commit 7dce38f9897df02073132f18b1021e0d0636590c) --- source4/cldap_server/netlogon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/cldap_server') 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)); } -- cgit