diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-30 15:14:38 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-24 17:34:50 +0100 |
commit | 282a2d8591a9132dac1d70113a7e51287d3c1674 (patch) | |
tree | b56e5e4bfcb8db1fa0a2a65351243e2afb812fa6 /source4/auth/ntlmssp/ntlmssp.h | |
parent | 133a3e4ce81ea156461c5e8b922e234dbf1ce688 (diff) | |
download | samba-282a2d8591a9132dac1d70113a7e51287d3c1674.tar.gz samba-282a2d8591a9132dac1d70113a7e51287d3c1674.tar.bz2 samba-282a2d8591a9132dac1d70113a7e51287d3c1674.zip |
s4:ntlmssp: calculate server names at startup and store them in (gensec_)ntlmssp_state->server.*
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source4/auth/ntlmssp/ntlmssp.h')
-rw-r--r-- | source4/auth/ntlmssp/ntlmssp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp.h b/source4/auth/ntlmssp/ntlmssp.h index 44a1064e15..b415dba9c0 100644 --- a/source4/auth/ntlmssp/ntlmssp.h +++ b/source4/auth/ntlmssp/ntlmssp.h @@ -66,6 +66,10 @@ struct gensec_ntlmssp_state struct { bool is_standalone; + const char *netbios_name; + const char *netbios_domain; + const char *dns_name; + const char *dns_domain; } server; DATA_BLOB internal_chal; /* Random challenge as supplied to the client for NTLM authentication */ @@ -131,8 +135,6 @@ struct gensec_ntlmssp_state NTSTATUS (*check_password)(struct gensec_ntlmssp_state *, DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key); - const char *server_name; - bool doing_ntlm2; union { |