diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/libnet/libnet_group.c | 5 |
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)) { |