構造体 ntlmssp_state

#include <ntlmssp.h>


変数

TALLOC_CTXmem_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


説明

ntlmssp.h79 行で定義されています。


構造体

TALLOC_CTX* mem_ctx

ntlmssp.h81 行で定義されています。

参照元 local_pw_check()ntlmssp_client_challenge()ntlmssp_end()ntlmssp_server_negotiate()ntlmssp_set_domain()ntlmssp_set_hashes()ntlmssp_set_username()ntlmssp_set_workstation()ntlmssp_store_response()winbind_pw_check().

unsigned int ref_count

ntlmssp.h82 行で定義されています。

enum NTLMSSP_ROLE role

ntlmssp.h83 行で定義されています。

参照元 ntlmssp_sign_init()ntlmssp_update().

enum server_types server_role

ntlmssp.h84 行で定義されています。

参照元 ntlmssp_target_name().

uint32 expected_state

ntlmssp.h85 行で定義されています。

参照元 ntlmssp_client_challenge()ntlmssp_client_initial()ntlmssp_server_negotiate()ntlmssp_update().

BOOL unicode

ntlmssp.h87 行で定義されています。

参照元 ntlmssp_client_challenge()ntlmssp_client_initial()ntlmssp_handle_neg_flags()ntlmssp_server_auth()ntlmssp_server_negotiate().

BOOL use_ntlmv2

ntlmssp.h88 行で定義されています。

参照元 ntlmssp_client_challenge()ntlmssp_client_initial()ntlmssp_handle_neg_flags().

char* user

ntlmssp.h89 行で定義されています。

参照元 auth_ntlmssp_check_password()local_pw_check()manage_gss_spnego_request()ntlmssp_client_challenge()ntlmssp_server_auth()ntlmssp_set_username()pipe_ntlmssp_verify_final()winbind_pw_check().

char* domain

ntlmssp.h90 行で定義されています。

参照元 auth_ntlmssp_check_password()local_pw_check()manage_gss_spnego_request()ntlmssp_client_challenge()ntlmssp_server_auth()ntlmssp_set_domain()pipe_ntlmssp_verify_final()winbind_pw_check().

char* workstation

ntlmssp.h91 行で定義されています。

参照元 auth_ntlmssp_check_password()local_pw_check()ntlmssp_server_auth()ntlmssp_set_workstation()pipe_ntlmssp_verify_final()winbind_pw_check().

unsigned char* nt_hash

ntlmssp.h92 行で定義されています。

参照元 ntlmssp_client_challenge()ntlmssp_set_hashes()ntlmssp_set_password().

unsigned char* lm_hash

ntlmssp.h93 行で定義されています。

参照元 ntlmssp_client_challenge()ntlmssp_set_hashes()ntlmssp_set_password().

char* server_domain

ntlmssp.h94 行で定義されています。

参照元 cli_session_setup_ntlmssp()ntlmssp_client_challenge().

DATA_BLOB internal_chal

ntlmssp.h96 行で定義されています。

参照元 ntlmssp_server_negotiate().

DATA_BLOB chal

ntlmssp.h98 行で定義されています。

参照元 get_challenge()local_pw_check()ntlmssp_client_challenge()ntlmssp_server_negotiate()winbind_pw_check().

DATA_BLOB lm_resp

ntlmssp.h99 行で定義されています。

参照元 auth_ntlmssp_check_password()local_pw_check()ntlmssp_client_challenge()ntlmssp_server_auth()winbind_pw_check().

DATA_BLOB nt_resp

ntlmssp.h100 行で定義されています。

参照元 auth_ntlmssp_check_password()local_pw_check()ntlmssp_client_challenge()ntlmssp_server_auth()winbind_pw_check().

DATA_BLOB session_key

ntlmssp.h101 行で定義されています。

参照元 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

ntlmssp.h103 行で定義されています。

参照元 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

ntlmssp.h105 行で定義されています。

参照元 auth_ntlmssp_check_password()auth_ntlmssp_get_challenge()auth_ntlmssp_may_set_challenge()auth_ntlmssp_set_challenge()local_pw_check()manage_squid_ntlmssp_request()winbind_pw_check().

const uint8*(* get_challenge)(const struct ntlmssp_state *ntlmssp_state)

Callback to get the 'challenge' used for NTLM authentication.

引数:
ntlmssp_state This structure
戻り値:
8 bytes of challnege data, determined by the server to be the challenge for NTLM authentication

参照元 ntlmssp_server_negotiate().

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
戻り値:
Can the challenge be set to arbitary values?

参照元 ntlmssp_server_negotiate().

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)

参照元 ntlmssp_client_challenge()ntlmssp_client_initial()ntlmssp_server_negotiate()ntlmssp_target_name().

const char*(* get_domain)(void)

参照元 ntlmssp_client_initial()ntlmssp_target_name().

unsigned char send_sign_key[16]

ntlmssp.h156 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_sign_init().

unsigned char send_seal_key[16]

ntlmssp.h157 行で定義されています。

参照元 ntlmssp_sign_init().

unsigned char recv_sign_key[16]

ntlmssp.h158 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_sign_init().

unsigned char recv_seal_key[16]

ntlmssp.h159 行で定義されています。

参照元 ntlmssp_sign_init().

unsigned char send_seal_arc4_state[258]

ntlmssp.h161 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_seal_packet()ntlmssp_sign_init().

unsigned char recv_seal_arc4_state[258]

ntlmssp.h162 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_sign_init()ntlmssp_unseal_packet().

uint32 ntlm2_send_seq_num

ntlmssp.h164 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_sign_init().

uint32 ntlm2_recv_seq_num

ntlmssp.h165 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_sign_init().

unsigned char ntlmv1_arc4_state[258]

ntlmssp.h168 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_seal_packet()ntlmssp_sign_init()ntlmssp_unseal_packet().

uint32 ntlmv1_seq_num

ntlmssp.h169 行で定義されています。

参照元 ntlmssp_make_packet_signature()ntlmssp_seal_packet()ntlmssp_sign_init().

DATA_BLOB stored_response

ntlmssp.h174 行で定義されています。

参照元 ntlmssp_store_response()ntlmssp_update().


この構造体の説明は次のファイルから生成されました:
Sambaに対してSat Aug 29 21:24:43 2009に生成されました。  doxygen 1.4.7