summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_rpc.c b/source3/winbindd/winbindd_rpc.c
index a96dbb15db..44deeb071c 100644
--- a/source3/winbindd/winbindd_rpc.c
+++ b/source3/winbindd/winbindd_rpc.c
@@ -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;
}