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:
parent
c323629a1a
commit
4c29a4e126
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user