summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_cmd_getgrnam.c
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-12-26 11:32:09 +0100
committerKai Blin <kai@samba.org>2008-12-29 12:52:27 +0100
commit855d2a927e7badbc6bfbd358b6e94ec8bb9cb47f (patch)
treeaead74479478579c01f3504ff81a7fd24a8d2b85 /source4/winbind/wb_cmd_getgrnam.c
parentec5ef61134ae8edd069a5cc269f8a9d6d2b4234d (diff)
downloadsamba-855d2a927e7badbc6bfbd358b6e94ec8bb9cb47f.tar.gz
samba-855d2a927e7badbc6bfbd358b6e94ec8bb9cb47f.tar.bz2
samba-855d2a927e7badbc6bfbd358b6e94ec8bb9cb47f.zip
s4 libnet: Add support for groupinfo by sid lookup
Diffstat (limited to 'source4/winbind/wb_cmd_getgrnam.c')
-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;