summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-16 16:00:34 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-16 17:11:47 +0100
commit4c29a4e12683a6826104f5974a86d07fb6346266 (patch)
tree6b29365e71e79d7af5dd3c2e20c117ee1c3284ee /source4
parentc323629a1a3c3baf4ce799d2a9efe446822f6ec0 (diff)
downloadsamba-4c29a4e12683a6826104f5974a86d07fb6346266.tar.gz
samba-4c29a4e12683a6826104f5974a86d07fb6346266.tar.bz2
samba-4c29a4e12683a6826104f5974a86d07fb6346266.zip
s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"
Diffstat (limited to 'source4')
-rw-r--r--source4/winbind/wb_cmd_getgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_cmd_getgroups.c b/source4/winbind/wb_cmd_getgroups.c
index 2262f6890c..d1a88b2227 100644
--- a/source4/winbind/wb_cmd_getgroups.c
+++ b/source4/winbind/wb_cmd_getgroups.c
@@ -71,7 +71,7 @@ struct composite_context *wb_cmd_getgroups_send(TALLOC_CTX *mem_ctx,
state->num_groups = 0;
state->username = talloc_strdup(state,username);
- if (composite_nomem(ctx, result)) return result;
+ if (composite_nomem(state->username, result)) return result;
ctx = wb_cmd_getpwnam_send(state, service, username);
if (composite_nomem(ctx, result)) return result;