mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
debugged enumgroups -g option
This commit is contained in:
parent
e2a72e2c64
commit
1cde47ba6a
@ -1131,13 +1131,16 @@ static void samr_reply_query_groupinfo(SAMR_Q_QUERY_GROUPINFO *q_u,
|
||||
{
|
||||
r_e.ptr = 1;
|
||||
ctr.switch_value1 = 1;
|
||||
make_samr_group_info1(&ctr.group.info1, "account name", "account description");
|
||||
make_samr_group_info1(&ctr.group.info1,
|
||||
"account name",
|
||||
"account description");
|
||||
}
|
||||
else if (q_u->switch_level == 4)
|
||||
{
|
||||
r_e.ptr = 1;
|
||||
ctr.switch_value1 = 4;
|
||||
make_samr_group_info4(&ctr.group.info4, "account description");
|
||||
make_samr_group_info4(&ctr.group.info4,
|
||||
"account description");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1215,7 +1215,7 @@ static void query_groupinfo(struct client_info *info, uint16 fnum,
|
||||
/* send group info query */
|
||||
if (get_samr_query_groupinfo(smb_cli, fnum,
|
||||
&info->dom.samr_pol_open_domain,
|
||||
group_rid, 1, &ctr))
|
||||
1, group_rid, &ctr))
|
||||
{
|
||||
#if 0
|
||||
display_samr_groupinfo(out_hnd, ACTION_HEADER , &ctr);
|
||||
|
Loading…
Reference in New Issue
Block a user