diff options
author | Michael Adam <obnox@samba.org> | 2013-01-22 17:39:44 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-29 21:57:18 +0100 |
commit | b7095e9818bba8c43065cc1b1f29551203dc098b (patch) | |
tree | f143984b0b23b9c3793062f64f6efc3bf272240c /source3/winbindd | |
parent | 40e3df7c37a15b28f170699ff9b8102416a9107f (diff) | |
download | samba-b7095e9818bba8c43065cc1b1f29551203dc098b.tar.gz samba-b7095e9818bba8c43065cc1b1f29551203dc098b.tar.bz2 samba-b7095e9818bba8c43065cc1b1f29551203dc098b.zip |
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>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_rpc.c | 2 |
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; } |