diff options
author | Günther Deschner <gd@samba.org> | 2008-01-30 21:55:03 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-31 13:39:37 +0100 |
commit | 2e2fa2c66ed8cd1ada68bc22ff257490495a29f0 (patch) | |
tree | 50e37400a7f8f57e1b52396b8ce49853805ea011 /source3/rpc_server/srv_samr.c | |
parent | 8dc7fe774e8e913e464b7661caf669145d5ff2f7 (diff) | |
download | samba-2e2fa2c66ed8cd1ada68bc22ff257490495a29f0.tar.gz samba-2e2fa2c66ed8cd1ada68bc22ff257490495a29f0.tar.bz2 samba-2e2fa2c66ed8cd1ada68bc22ff257490495a29f0.zip |
Use pidl for samr_GetDomPwInfo() server-side.
Guenther
(This used to be commit 60fe8ade74d24d49f0fed0aae360a3b00edcd2b4)
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 e2ffdefcd6..c05d126c4c 100644 --- a/source3/rpc_server/srv_samr.c +++ b/source3/rpc_server/srv_samr.c @@ -1350,28 +1350,7 @@ static bool api_samr_set_aliasinfo(pipes_struct *p) static bool api_samr_get_dom_pwinfo(pipes_struct *p) { - SAMR_Q_GET_DOM_PWINFO q_u; - SAMR_R_GET_DOM_PWINFO 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_get_dom_pwinfo("", &q_u, data, 0)) { - DEBUG(0,("api_samr_get_dom_pwinfo: unable to unmarshall SAMR_Q_GET_DOM_PWINFO.\n")); - return False; - } - - r_u.status = _samr_get_dom_pwinfo(p, &q_u, &r_u); - - if (!samr_io_r_get_dom_pwinfo("", &r_u, rdata, 0)) { - DEBUG(0,("api_samr_get_dom_pwinfo: unable to marshall SAMR_R_GET_DOM_PWINFO.\n")); - return False; - } - - return True; + return proxy_samr_call(p, NDR_SAMR_GETDOMPWINFO); } /******************************************************************* |