summaryrefslogtreecommitdiff
path: root/source4/torture
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/torture
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/torture')
-rw-r--r--source4/torture/libnet/libnet_group.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/libnet/libnet_group.c b/source4/torture/libnet/libnet_group.c
index 9c9ecfd525..c7fdfbd10b 100644
--- a/source4/torture/libnet/libnet_group.c
+++ b/source4/torture/libnet/libnet_group.c
@@ -264,9 +264,10 @@ bool torture_groupinfo_api(struct torture_context *torture)
mem_ctx = talloc_init("torture group info");
ZERO_STRUCT(req);
-
+
req.in.domain_name = domain_name.string;
- req.in.group_name = name;
+ req.in.level = GROUP_INFO_BY_NAME;
+ req.in.data.group_name = name;
status = libnet_GroupInfo(ctx, mem_ctx, &req);
if (!NT_STATUS_IS_OK(status)) {