#include <ntlmssp.h>
変数 | |
TALLOC_CTX * | mem_ctx |
unsigned int | ref_count |
enum NTLMSSP_ROLE | role |
enum server_types | server_role |
uint32 | expected_state |
BOOL | unicode |
BOOL | use_ntlmv2 |
char * | user |
char * | domain |
char * | workstation |
unsigned char * | nt_hash |
unsigned char * | lm_hash |
char * | server_domain |
DATA_BLOB | internal_chal |
DATA_BLOB | chal |
DATA_BLOB | lm_resp |
DATA_BLOB | nt_resp |
DATA_BLOB | session_key |
uint32 | neg_flags |
void * | auth_context |
const uint8 *(* | get_challenge )(const struct ntlmssp_state *ntlmssp_state) |
Callback to get the 'challenge' used for NTLM authentication. | |
BOOL(* | may_set_challenge )(const struct ntlmssp_state *ntlmssp_state) |
Callback to find if the challenge used by NTLM authentication may be modified | |
NTSTATUS(* | set_challenge )(struct ntlmssp_state *ntlmssp_state, DATA_BLOB *challenge) |
Callback to set the 'challenge' used for NTLM authentication. | |
NTSTATUS(* | check_password )(struct ntlmssp_state *ntlmssp_state, DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key) |
Callback to check the user's password. | |
const char *(* | get_global_myname )(void) |
const char *(* | get_domain )(void) |
unsigned char | send_sign_key [16] |
unsigned char | send_seal_key [16] |
unsigned char | recv_sign_key [16] |
unsigned char | recv_seal_key [16] |
unsigned char | send_seal_arc4_state [258] |
unsigned char | recv_seal_arc4_state [258] |
uint32 | ntlm2_send_seq_num |
uint32 | ntlm2_recv_seq_num |
unsigned char | ntlmv1_arc4_state [258] |
uint32 | ntlmv1_seq_num |
DATA_BLOB | stored_response |
enum NTLMSSP_ROLE role |
enum server_types server_role |
uint32 expected_state |
char* user |
char* domain |
char* workstation |
unsigned char* nt_hash |
unsigned char* lm_hash |
char* server_domain |
参照元 cli_session_setup_ntlmssp()・manage_client_ntlmssp_request()・manage_squid_ntlmssp_request()・ntlmssp_check_packet()・ntlmssp_client_challenge()・ntlmssp_seal_packet()・ntlmssp_server_auth()・ntlmssp_sign_init()・ntlmssp_sign_packet()・ntlmssp_unseal_packet()・ntlmssp_weaken_keys()・pipe_ntlmssp_verify_final().
uint32 neg_flags |
参照元 ads_sasl_spnego_ntlmssp_bind()・cli_rpc_pipe_open_ntlmssp_internal()・manage_client_ntlmssp_request()・manage_squid_ntlmssp_request()・ntlmssp_check_packet()・ntlmssp_client_challenge()・ntlmssp_client_initial()・ntlmssp_handle_neg_flags()・ntlmssp_make_packet_signature()・ntlmssp_seal_packet()・ntlmssp_server_negotiate()・ntlmssp_sign_init()・ntlmssp_sign_packet()・ntlmssp_unseal_packet()・ntlmssp_want_feature()・ntlmssp_want_feature_list()・ntlmssp_weaken_keys()・pipe_ntlmssp_verify_final().
void* auth_context |
const uint8*(* get_challenge)(const struct ntlmssp_state *ntlmssp_state) |
Callback to get the 'challenge' used for NTLM authentication.
ntlmssp_state | This structure |
BOOL(* may_set_challenge)(const struct ntlmssp_state *ntlmssp_state) |
Callback to find if the challenge used by NTLM authentication may be modified
The NTLM2 authentication scheme modifies the effective challenge, but this is not compatiable with the current 'security=server' implementation..
ntlmssp_state | This structure |
NTSTATUS(* set_challenge)(struct ntlmssp_state *ntlmssp_state, DATA_BLOB *challenge) |
Callback to set the 'challenge' used for NTLM authentication.
The callback may use the void *auth_context to store state information, but the same value is always available from the DATA_BLOB chal on this structure.
ntlmssp_state | This structure | |
challenge | 8 bytes of data, agreed by the client and server to be the effective challenge for NTLM2 authentication |
NTSTATUS(* check_password)(struct ntlmssp_state *ntlmssp_state, DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key) |
Callback to check the user's password.
The callback must reads the feilds of this structure for the information it needs on the user
ntlmssp_state | This structure | |
nt_session_key | If an NT session key is returned by the authentication process, return it here | |
lm_session_key | If an LM session key is returned by the authentication process, return it here |
const char*(* get_global_myname)(void) |
const char*(* get_domain)(void) |
unsigned char send_sign_key[16] |
unsigned char send_seal_key[16] |
unsigned char recv_sign_key[16] |
unsigned char recv_seal_key[16] |
unsigned char send_seal_arc4_state[258] |
unsigned char recv_seal_arc4_state[258] |
uint32 ntlm2_send_seq_num |
uint32 ntlm2_recv_seq_num |
unsigned char ntlmv1_arc4_state[258] |
uint32 ntlmv1_seq_num |