1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r11293: Use the right search when forming the data for the PAC.

Andrew Bartlett
(This used to be commit ecacef213b28adb84d3ffb5b76bf1b079e25426c)
This commit is contained in:
Andrew Bartlett 2005-10-25 13:38:00 +00:00 committed by Gerald (Jerry) Carter
parent 7a7a52948d
commit d27ffc27ff

View File

@ -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);