1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"

This commit is contained in:
Matthias Dieter Wallnöfer 2010-03-16 16:00:34 +01:00
parent c323629a1a
commit 4c29a4e126

View File

@ -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;