diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-06-05 05:01:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:30 -0500 |
commit | 5341ad20e1b8953c9256cd8e04a7e55ba9ef84b5 (patch) | |
tree | 9d2c21766becd650905c32b1195d6a0203f93110 /source4/rpc_server/dcesrv_crypto_ntlmssp.c | |
parent | 4c6f04d83f20ecfe62cd87dadf9b48a898502ea7 (diff) | |
download | samba-5341ad20e1b8953c9256cd8e04a7e55ba9ef84b5.tar.gz samba-5341ad20e1b8953c9256cd8e04a7e55ba9ef84b5.tar.bz2 samba-5341ad20e1b8953c9256cd8e04a7e55ba9ef84b5.zip |
r1030: added server side schannel support
(This used to be commit 2ac79dfba0e64056a680f21d7dd0c007f79d4a70)
Diffstat (limited to 'source4/rpc_server/dcesrv_crypto_ntlmssp.c')
-rw-r--r-- | source4/rpc_server/dcesrv_crypto_ntlmssp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/rpc_server/dcesrv_crypto_ntlmssp.c b/source4/rpc_server/dcesrv_crypto_ntlmssp.c index 5fb6345599..a0bb153ef2 100644 --- a/source4/rpc_server/dcesrv_crypto_ntlmssp.c +++ b/source4/rpc_server/dcesrv_crypto_ntlmssp.c @@ -22,8 +22,7 @@ */ /* - this provides a crypto interface to the various backends (such as - NTLMSSP and SCHANNEL) for the rpc server code + this provides the NTLMSSP backend for server side rpc */ #include "includes.h" @@ -32,11 +31,15 @@ /* start crypto state */ -static NTSTATUS dcesrv_crypto_ntlmssp_start(struct dcesrv_auth *auth) +static NTSTATUS dcesrv_crypto_ntlmssp_start(struct dcesrv_auth *auth, DATA_BLOB *auth_blob) { struct auth_ntlmssp_state *ntlmssp = NULL; NTSTATUS status; + /* TODO: we should parse the auth_blob and remember the client + hostname and target domain, then check against the auth3 + bind packet */ + status = auth_ntlmssp_start(&ntlmssp); auth->crypto_ctx.private_data = ntlmssp; |