1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

s3-build: fix the build.

Guenther
This commit is contained in:
Günther Deschner 2008-10-21 12:26:05 +02:00
parent b11f3a60fd
commit 9f46669871

View File

@ -1487,14 +1487,14 @@ NTSTATUS _lsa_GetUserName(pipes_struct *p,
domname = pdb_get_domain(p->server_info->sam_account);
}
account_name = TALLOC(p->mem_ctx, struct lsa_String);
account_name = TALLOC_P(p->mem_ctx, struct lsa_String);
if (!account_name) {
return NT_STATUS_NO_MEMORY;
}
init_lsa_String(account_name, username);
if (r->out.authority_name) {
authority_name = TALLOC(p->mem_ctx, struct lsa_String);
authority_name = TALLOC_P(p->mem_ctx, struct lsa_String);
if (!authority_name) {
return NT_STATUS_NO_MEMORY;
}