summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index 7bc12afe74..455b26318e 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -794,13 +794,13 @@ static void samr_reply_query_groupinfo(SAMR_Q_QUERY_GROUPINFO *q_u,
if (q_u->switch_level == 1)
{
r_e.ptr = 1;
- ctr.switch_value = 1;
+ ctr.switch_value1 = 1;
make_samr_group_info1(&ctr.group.info1, "account name", "account description");
}
else if (q_u->switch_level == 4)
{
r_e.ptr = 1;
- ctr.switch_value = 4;
+ ctr.switch_value1 = 4;
make_samr_group_info4(&ctr.group.info4, "account description");
}
else