diff options
author | Luke Leighton <lkcl@samba.org> | 1999-08-30 17:15:59 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-08-30 17:15:59 +0000 |
commit | 736c507722ff5f1f7cb0bf31c2f5ea4af821fba5 (patch) | |
tree | c8c633573718d71fffa42f213970f7fdcce1820b /source3 | |
parent | 501acbba23fb5b6830ec6311ab53475a945a13b2 (diff) | |
download | samba-736c507722ff5f1f7cb0bf31c2f5ea4af821fba5.tar.gz samba-736c507722ff5f1f7cb0bf31c2f5ea4af821fba5.tar.bz2 samba-736c507722ff5f1f7cb0bf31c2f5ea4af821fba5.zip |
debugged enumgroups -g option
(This used to be commit 1cde47ba6a6409e0ae178ca9f44be2123bef0f9d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_samr.c | 7 | ||||
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c index 257f8869f7..c020d33340 100644 --- a/source3/rpc_server/srv_samr.c +++ b/source3/rpc_server/srv_samr.c @@ -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 { diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index e4113f4b5d..d131e2d4a5 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -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); |