diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 16:16:02 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 12:25:30 +0200 |
commit | fa1275610b3c7cad75b5b86ae4b32d8781d1acc0 (patch) | |
tree | bddc41642005feb71a96f0e03adc42553b73d2d0 /source3/include | |
parent | f9b042641f9c6615f6a4b102f0182de545d6a19a (diff) | |
download | samba-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')
-rw-r--r-- | source3/include/ntlmssp_wrap.h | 8 |
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, |