From fa1275610b3c7cad75b5b86ae4b32d8781d1acc0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 18 Oct 2011 16:16:02 +1100 Subject: s3-libsmb Use a gensec module to provide the ntlmssp client in ntlmssp_wrap.c This removes the need to have if (ans->gensec_security) everywhere. Andrew Bartlett --- source3/include/ntlmssp_wrap.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source3/include/ntlmssp_wrap.h') diff --git a/source3/include/ntlmssp_wrap.h b/source3/include/ntlmssp_wrap.h index 7ee3d3d9d8..bfbfdebd26 100644 --- a/source3/include/ntlmssp_wrap.h +++ b/source3/include/ntlmssp_wrap.h @@ -26,10 +26,12 @@ struct gensec_security; struct auth_ntlmssp_state { /* used only by server implementation */ struct auth_context *auth_context; - struct gensec_security *gensec_security; - + /* used only by the client implementation */ - struct ntlmssp_state *ntlmssp_state; + struct cli_credentials *credentials; + + /* used by both */ + struct gensec_security *gensec_security; }; NTSTATUS auth_ntlmssp_sign_packet(struct auth_ntlmssp_state *ans, -- cgit