diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-10-25 13:38:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:14 -0500 |
commit | d27ffc27ffd5ab57b5e0124203a08a3bb70aa1e1 (patch) | |
tree | 524874d74251cd3773c4e8059e24bd1c4f8abc91 /source4 | |
parent | 7a7a52948de4d296acd6431657d4e6d631f211f9 (diff) | |
download | samba-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.c | 4 |
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); |