summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-05 03:17:12 +0100
committerGünther Deschner <gd@samba.org>2008-02-05 10:19:34 +0100
commit01a9964e8220edbc5be618408e83b4fad27792e4 (patch)
treed73cffbb579b31d22caf6a8d279d446d3fad89f1 /source3/rpc_server/srv_samr.c
parent36818c0ff0b49d85895027dc60add0754b9c907b (diff)
downloadsamba-01a9964e8220edbc5be618408e83b4fad27792e4.tar.gz
samba-01a9964e8220edbc5be618408e83b4fad27792e4.tar.bz2
samba-01a9964e8220edbc5be618408e83b4fad27792e4.zip
Use idl for _samr_QueryGroupMember().
Guenther (This used to be commit 4b068954671143a7c94884e169f1d0ba420dccb7)
Diffstat (limited to 'source3/rpc_server/srv_samr.c')
-rw-r--r--source3/rpc_server/srv_samr.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index 6375d6dbd3..d41d828e41 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -637,28 +637,7 @@ static bool api_samr_query_aliasmem(pipes_struct *p)
static bool api_samr_query_groupmem(pipes_struct *p)
{
- SAMR_Q_QUERY_GROUPMEM q_u;
- SAMR_R_QUERY_GROUPMEM r_u;
-
- prs_struct *data = &p->in_data.data;
- prs_struct *rdata = &p->out_data.rdata;
-
- ZERO_STRUCT(q_u);
- ZERO_STRUCT(r_u);
-
- if (!samr_io_q_query_groupmem("", &q_u, data, 0)) {
- DEBUG(0,("api_samr_query_groupmem: unable to unmarshall SAMR_Q_QUERY_GROUPMEM.\n"));
- return False;
- }
-
- r_u.status = _samr_query_groupmem(p, &q_u, &r_u);
-
- if (!samr_io_r_query_groupmem("", &r_u, rdata, 0)) {
- DEBUG(0,("api_samr_query_groupmem: unable to marshall SAMR_R_QUERY_GROUPMEM.\n"));
- return False;
- }
-
- return True;
+ return proxy_samr_call(p, NDR_SAMR_QUERYGROUPMEMBER);
}
/*******************************************************************