diff options
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_cmd_getpwuid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/winbind/wb_cmd_getpwuid.c b/source4/winbind/wb_cmd_getpwuid.c index 41379c7d65..1a59b5486e 100644 --- a/source4/winbind/wb_cmd_getpwuid.c +++ b/source4/winbind/wb_cmd_getpwuid.c @@ -117,6 +117,7 @@ static void cmd_getpwuid_recv_domain(struct composite_context *ctx) /* We need the workgroup later, so copy it */ state->workgroup = talloc_strdup(state, state->domain->libnet_ctx->samr.name); + if (composite_nomem(state->workgroup, state->ctx)) return; ctx = libnet_UserInfo_send(state->domain->libnet_ctx, state, user_info, NULL); |