diff options
author | Günther Deschner <gd@samba.org> | 2008-02-15 21:41:16 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-15 21:41:38 +0100 |
commit | c9f1f3d5ff07224e0da3df759215e7680893812e (patch) | |
tree | a2b0f63c53459e0aa1e6a7c329eacccaee4f72f2 /source3/rpc_server/srv_netlog.c | |
parent | 55b2292abace1d12b04fb47a61daab26923f887c (diff) | |
download | samba-c9f1f3d5ff07224e0da3df759215e7680893812e.tar.gz samba-c9f1f3d5ff07224e0da3df759215e7680893812e.tar.bz2 samba-c9f1f3d5ff07224e0da3df759215e7680893812e.zip |
Use pidl for _netr_ServerAuthenticate2().
Guenther
(This used to be commit 5d81cc136bcd8f53bedea6de5380b1147862c391)
Diffstat (limited to 'source3/rpc_server/srv_netlog.c')
-rw-r--r-- | source3/rpc_server/srv_netlog.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c index 7f67fe51f0..719cdff41c 100644 --- a/source3/rpc_server/srv_netlog.c +++ b/source3/rpc_server/srv_netlog.c @@ -73,29 +73,7 @@ static bool api_net_auth(pipes_struct *p) static bool api_net_auth_2(pipes_struct *p) { - NET_Q_AUTH_2 q_u; - NET_R_AUTH_2 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 challenge... */ - if(!net_io_q_auth_2("", &q_u, data, 0)) { - DEBUG(0,("api_net_auth_2: Failed to unmarshall NET_Q_AUTH_2.\n")); - return False; - } - - r_u.status = _net_auth_2(p, &q_u, &r_u); - - /* store the response in the SMB stream */ - if(!net_io_r_auth_2("", &r_u, rdata, 0)) { - DEBUG(0,("api_net_auth_2: Failed to marshall NET_R_AUTH_2.\n")); - return False; - } - - return True; + return proxy_netr_call(p, NDR_NETR_SERVERAUTHENTICATE2); } /************************************************************************* |