diff options
author | Günther Deschner <gd@samba.org> | 2008-02-01 00:49:32 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-01 09:57:30 +0100 |
commit | 846c3a30016444850a1fb24d5fccd6345e8a60a0 (patch) | |
tree | 9ee87876340fc4820066528e4b23cb1e7c3f0a48 /source3/rpc_server/srv_samr.c | |
parent | ecaa48925f166f9b3295dc95edba23faf4df50f6 (diff) | |
download | samba-846c3a30016444850a1fb24d5fccd6345e8a60a0.tar.gz samba-846c3a30016444850a1fb24d5fccd6345e8a60a0.tar.bz2 samba-846c3a30016444850a1fb24d5fccd6345e8a60a0.zip |
Use pidl for _samr_OpenGroup().
Guenther
(This used to be commit e74ad425ff3a139fa12c0320e4a292dcb0991888)
Diffstat (limited to 'source3/rpc_server/srv_samr.c')
-rw-r--r-- | source3/rpc_server/srv_samr.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c index b1c7349c31..447865eb15 100644 --- a/source3/rpc_server/srv_samr.c +++ b/source3/rpc_server/srv_samr.c @@ -1294,28 +1294,7 @@ static bool api_samr_get_dom_pwinfo(pipes_struct *p) static bool api_samr_open_group(pipes_struct *p) { - SAMR_Q_OPEN_GROUP q_u; - SAMR_R_OPEN_GROUP 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_open_group("", &q_u, data, 0)) { - DEBUG(0,("api_samr_open_group: unable to unmarshall SAMR_Q_OPEN_GROUP.\n")); - return False; - } - - r_u.status = _samr_open_group(p, &q_u, &r_u); - - if (!samr_io_r_open_group("", &r_u, rdata, 0)) { - DEBUG(0,("api_samr_open_group: unable to marshall SAMR_R_OPEN_GROUP.\n")); - return False; - } - - return True; + return proxy_samr_call(p, NDR_SAMR_OPENGROUP); } /******************************************************************* |