From 5341ad20e1b8953c9256cd8e04a7e55ba9ef84b5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 5 Jun 2004 05:01:38 +0000 Subject: r1030: added server side schannel support (This used to be commit 2ac79dfba0e64056a680f21d7dd0c007f79d4a70) --- source4/rpc_server/dcesrv_crypto_ntlmssp.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source4/rpc_server/dcesrv_crypto_ntlmssp.c') 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; -- cgit