summaryrefslogtreecommitdiff
path: root/source4/winbind
diff options
context:
space:
mode:
Diffstat (limited to 'source4/winbind')
-rw-r--r--source4/winbind/wb_cmd_getgrnam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/winbind/wb_cmd_getgrnam.c b/source4/winbind/wb_cmd_getgrnam.c
index 5da3922c6c..bfc30fc7a6 100644
--- a/source4/winbind/wb_cmd_getgrnam.c
+++ b/source4/winbind/wb_cmd_getgrnam.c
@@ -92,7 +92,8 @@ static void cmd_getgrnam_recv_domain(struct composite_context *ctx)
return;
}
- group_info->in.group_name = group_name;
+ group_info->in.level = GROUP_INFO_BY_NAME;
+ group_info->in.data.group_name = group_name;
group_info->in.domain_name = group_dom;
state->workgroup_name = talloc_strdup(state, group_dom);
if(composite_nomem(state->workgroup_name, state->ctx)) return;