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:
parent
b11f3a60fd
commit
9f46669871
@ -1487,14 +1487,14 @@ NTSTATUS _lsa_GetUserName(pipes_struct *p,
|
|||||||
domname = pdb_get_domain(p->server_info->sam_account);
|
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) {
|
if (!account_name) {
|
||||||
return NT_STATUS_NO_MEMORY;
|
return NT_STATUS_NO_MEMORY;
|
||||||
}
|
}
|
||||||
init_lsa_String(account_name, username);
|
init_lsa_String(account_name, username);
|
||||||
|
|
||||||
if (r->out.authority_name) {
|
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) {
|
if (!authority_name) {
|
||||||
return NT_STATUS_NO_MEMORY;
|
return NT_STATUS_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user