diff options
author | Günther Deschner <gd@samba.org> | 2008-03-05 10:34:45 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-05 10:34:45 +0100 |
commit | 78b20443c587d303aa33f594c746c38e2689004d (patch) | |
tree | 40dc2f556688c8798f22d2710e456b69d4f571a6 /source3/rpc_server/srv_srvsvc.c | |
parent | 91714e0429a667ca19aec8ba4cdd5e7722452979 (diff) | |
download | samba-78b20443c587d303aa33f594c746c38e2689004d.tar.gz samba-78b20443c587d303aa33f594c746c38e2689004d.tar.bz2 samba-78b20443c587d303aa33f594c746c38e2689004d.zip |
Use pidl for _srvsvc_NetRemoteTOD().
Guenther
(This used to be commit 2b4e0f0593c6378cdac4811ded830ca694afac9e)
Diffstat (limited to 'source3/rpc_server/srv_srvsvc.c')
-rw-r--r-- | source3/rpc_server/srv_srvsvc.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/source3/rpc_server/srv_srvsvc.c b/source3/rpc_server/srv_srvsvc.c index 0d50bccef0..41fc39baf7 100644 --- a/source3/rpc_server/srv_srvsvc.c +++ b/source3/rpc_server/srv_srvsvc.c @@ -369,25 +369,7 @@ static bool api_srv_net_share_del_sticky(pipes_struct *p) static bool api_srv_net_remote_tod(pipes_struct *p) { - SRV_Q_NET_REMOTE_TOD q_u; - SRV_R_NET_REMOTE_TOD r_u; - prs_struct *data = &p->in_data.data; - prs_struct *rdata = &p->out_data.rdata; - - ZERO_STRUCT(q_u); - ZERO_STRUCT(r_u); - - /* grab the net server get enum */ - if(!srv_io_q_net_remote_tod("", &q_u, data, 0)) - return False; - - r_u.status = _srv_net_remote_tod(p, &q_u, &r_u); - - /* store the response in the SMB stream */ - if(!srv_io_r_net_remote_tod("", &r_u, rdata, 0)) - return False; - - return True; + return proxy_srvsvc_call(p, NDR_SRVSVC_NETREMOTETOD); } /******************************************************************* |