From 9a747d500fad699038ecf75615c680a9fd9e4cc7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 2 Jun 2010 22:52:56 +1000 Subject: s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP This allows the right hooks to be called in GENSEC when s3compat implements the auth_ntlmssp interface. Otherwise, we can't do the signing or sealing as we have not negoitated it's use. Andrew Bartlett --- source3/auth/auth_ntlmssp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/auth') diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 1b48ba022d..7184fa6b95 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -74,6 +74,16 @@ bool auth_ntlmssp_negotiated_seal(struct auth_ntlmssp_state *auth_ntlmssp_state) return auth_ntlmssp_state->ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SEAL; } +void auth_ntlmssp_want_sign(struct auth_ntlmssp_state *auth_ntlmssp_state) +{ + +} + +void auth_ntlmssp_want_seal(struct auth_ntlmssp_state *auth_ntlmssp_state) +{ + +} + NTSTATUS auth_ntlmssp_server_info(TALLOC_CTX *mem_ctx, struct auth_ntlmssp_state *auth_ntlmssp_state, struct auth_serversupplied_info **_server_info) -- cgit