1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00

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

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2005-10-25 13:38:00 +00:00
committed by Gerald (Jerry) Carter
parent aef6800548
commit ecacef213b

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