summaryrefslogtreecommitdiff
path: root/source3/include/ntlmssp_wrap.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-18 16:16:02 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-18 12:25:30 +0200
commitfa1275610b3c7cad75b5b86ae4b32d8781d1acc0 (patch)
treebddc41642005feb71a96f0e03adc42553b73d2d0 /source3/include/ntlmssp_wrap.h
parentf9b042641f9c6615f6a4b102f0182de545d6a19a (diff)
downloadsamba-fa1275610b3c7cad75b5b86ae4b32d8781d1acc0.tar.gz
samba-fa1275610b3c7cad75b5b86ae4b32d8781d1acc0.tar.bz2
samba-fa1275610b3c7cad75b5b86ae4b32d8781d1acc0.zip
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
Diffstat (limited to 'source3/include/ntlmssp_wrap.h')
-rw-r--r--source3/include/ntlmssp_wrap.h8
1 files changed, 5 insertions, 3 deletions
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,