diff options
-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); |