mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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,
|
||||
info->info21.full_name.string);
|
||||
if ((info->info21.full_name.string != NULL) &&
|
||||
(user_info->acct_name == NULL))
|
||||
(user_info->full_name == NULL))
|
||||
{
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user