mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3:winbindd: check the correct variable for talloc success in rpc_query_user()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
40e3df7c37
commit
b7095e9818
@ -526,7 +526,7 @@ NTSTATUS rpc_query_user(TALLOC_CTX *mem_ctx,
|
|||||||
user_info->full_name = talloc_strdup(user_info,
|
user_info->full_name = talloc_strdup(user_info,
|
||||||
info->info21.full_name.string);
|
info->info21.full_name.string);
|
||||||
if ((info->info21.full_name.string != NULL) &&
|
if ((info->info21.full_name.string != NULL) &&
|
||||||
(user_info->acct_name == NULL))
|
(user_info->full_name == NULL))
|
||||||
{
|
{
|
||||||
return NT_STATUS_NO_MEMORY;
|
return NT_STATUS_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user