mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
892e1a60a8
commit
6ac2585e87
@ -561,7 +561,7 @@ NTSTATUS sam_get_server_info_principal(TALLOC_CTX *mem_ctx, const char *principa
|
|||||||
|
|
||||||
/* grab domain info from the reference */
|
/* grab domain info from the reference */
|
||||||
ret = gendb_search(sam_ctx, tmp_ctx, NULL, &msgs_domain_ref, domain_ref_attrs,
|
ret = gendb_search(sam_ctx, tmp_ctx, NULL, &msgs_domain_ref, domain_ref_attrs,
|
||||||
"(ncName=%s)", ldb_dn_linearize(tmp_ctx, domain_dn));
|
"(ncName=%s)", ldb_dn_linearize(tmp_ctx, domain_dn));
|
||||||
|
|
||||||
if (ret != 1) {
|
if (ret != 1) {
|
||||||
talloc_free(tmp_ctx);
|
talloc_free(tmp_ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user