summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-25 13:38:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:14 -0500
commitd27ffc27ffd5ab57b5e0124203a08a3bb70aa1e1 (patch)
tree524874d74251cd3773c4e8059e24bd1c4f8abc91 /source4
parent7a7a52948de4d296acd6431657d4e6d631f211f9 (diff)
downloadsamba-d27ffc27ffd5ab57b5e0124203a08a3bb70aa1e1.tar.gz
samba-d27ffc27ffd5ab57b5e0124203a08a3bb70aa1e1.tar.bz2
samba-d27ffc27ffd5ab57b5e0124203a08a3bb70aa1e1.zip
r11293: Use the right search when forming the data for the PAC.
Andrew Bartlett (This used to be commit ecacef213b28adb84d3ffb5b76bf1b079e25426c)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index 72fed82ea9..eefd262ff4 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -546,8 +546,8 @@ NTSTATUS sam_get_server_info_principal(TALLOC_CTX *mem_ctx, const char *principa
}
/* grab domain info */
- ret_domain = gendb_search_dn(sam_ctx, tmp_ctx,
- domain_dn, &msgs_domain, domain_attrs);
+ ret_domain = gendb_search(sam_ctx, tmp_ctx, NULL, &msgs_domain, domain_attrs,
+ "(ncName=%s)", ldb_dn_linearize(tmp_ctx, domain_dn));
if (ret_domain != 1) {
talloc_free(tmp_ctx);