Home
last modified time | relevance | path

Searched refs:gensec_ntlmssp_state (Results 1 – 7 of 7) sorted by relevance

/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/auth/ntlmssp/
H A Dntlmssp_server.c48 gensec_ntlmssp_state->user = talloc_strdup(gensec_ntlmssp_state, user); in ntlmssp_set_username()
61 gensec_ntlmssp_state->domain = talloc_strdup(gensec_ntlmssp_state, domain); in ntlmssp_set_domain()
178 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in ntlmssp_server_negotiate() local
208 cryptkey = gensec_ntlmssp_state->get_challenge(gensec_ntlmssp_state); in ntlmssp_server_negotiate()
211 if (!gensec_ntlmssp_state->may_set_challenge(gensec_ntlmssp_state)) { in ntlmssp_server_negotiate()
390gensec_ntlmssp_state->user, gensec_ntlmssp_state->domain, gensec_ntlmssp_state->workstation, (unsi… in ntlmssp_server_preauth()
417 gensec_ntlmssp_state->chal = data_blob_talloc(gensec_ntlmssp_state, in ntlmssp_server_preauth()
425 gensec_ntlmssp_state->set_challenge(gensec_ntlmssp_state, in ntlmssp_server_preauth()
548 gensec_ntlmssp_state->session_key = data_blob_talloc(gensec_ntlmssp_state, in ntlmssp_server_postauth()
727 talloc_steal(gensec_ntlmssp_state, gensec_ntlmssp_state->server_info); in auth_ntlmssp_check_password()
[all …]
H A Dntlmssp.c126 static NTSTATUS gensec_ntlmssp_update_find(struct gensec_ntlmssp_state *gensec_ntlmssp_state, in gensec_ntlmssp_update_find() argument
143 switch (gensec_ntlmssp_state->role) { in gensec_ntlmssp_update_find()
203 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in gensec_ntlmssp_update() local
212 out_mem_ctx = gensec_ntlmssp_state; in gensec_ntlmssp_update()
233 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in gensec_ntlmssp_session_key() local
243 void ntlmssp_handle_neg_flags(struct gensec_ntlmssp_state *gensec_ntlmssp_state, in ntlmssp_handle_neg_flags() argument
312 DATA_BLOB ntlmssp_weakend_key(struct gensec_ntlmssp_state *gensec_ntlmssp_state, in ntlmssp_weakend_key() argument
348 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in gensec_ntlmssp_have_feature() local
383 struct gensec_ntlmssp_state *gensec_ntlmssp_state; in gensec_ntlmssp_start() local
385 gensec_ntlmssp_state = talloc_zero(gensec_security, struct gensec_ntlmssp_state); in gensec_ntlmssp_start()
[all …]
H A Dntlmssp_client.c51 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in ntlmssp_client_initial() local
53 if (gensec_ntlmssp_state->unicode) { in ntlmssp_client_initial()
59 if (gensec_ntlmssp_state->use_ntlmv2) { in ntlmssp_client_initial()
68 gensec_ntlmssp_state->neg_flags, in ntlmssp_client_initial()
69 gensec_ntlmssp_state->get_domain(), in ntlmssp_client_initial()
91 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in ntlmssp_client_challenge() local
131 ntlmssp_handle_neg_flags(gensec_ntlmssp_state, chal_flags, gensec_ntlmssp_state->allow_lm_key); in ntlmssp_client_challenge()
133 if (gensec_ntlmssp_state->unicode) { in ntlmssp_client_challenge()
178 if (gensec_ntlmssp_state->use_ntlmv2) { in ntlmssp_client_challenge()
290 struct gensec_ntlmssp_state *gensec_ntlmssp_state; in gensec_ntlmssp_client_start() local
[all …]
H A Dntlmssp_sign.c64 static NTSTATUS ntlmssp_make_packet_signature(struct gensec_ntlmssp_state *gensec_ntlmssp_state, in ntlmssp_make_packet_signature() argument
141 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in gensec_ntlmssp_sign_packet() local
160 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in gensec_ntlmssp_check_packet() local
229 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in gensec_ntlmssp_seal_packet() local
290 struct gensec_ntlmssp_state *gensec_ntlmssp_state = gensec_security->private_data; in gensec_ntlmssp_unseal_packet() local
310 _PUBLIC_ NTSTATUS ntlmssp_sign_init(struct gensec_ntlmssp_state *gensec_ntlmssp_state) in ntlmssp_sign_init() argument
338 switch (gensec_ntlmssp_state->role) { in ntlmssp_sign_init()
356gensec_ntlmssp_state->crypt.ntlm2.send_seal_arcfour_state = talloc(gensec_ntlmssp_state, struct ar… in ntlmssp_sign_init()
387 calc_ntlmv2_key(gensec_ntlmssp_state, in ntlmssp_sign_init()
408 calc_ntlmv2_key(gensec_ntlmssp_state, in ntlmssp_sign_init()
[all …]
H A Dntlmssp.h79 struct gensec_ntlmssp_state struct
120 const uint8_t *(*get_challenge)(const struct gensec_ntlmssp_state *); argument
132 BOOL (*may_set_challenge)(const struct gensec_ntlmssp_state *); argument
144 NTSTATUS (*set_challenge)(struct gensec_ntlmssp_state *, DATA_BLOB *challenge); argument
155 NTSTATUS (*check_password)(struct gensec_ntlmssp_state *, argument
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/torture/auth/
H A Dntlmssp.c30 struct gensec_ntlmssp_state *gensec_ntlmssp_state; in torture_ntlmssp_self_check() local
48 gensec_ntlmssp_state = gensec_security->private_data; in torture_ntlmssp_self_check()
50 gensec_ntlmssp_state->session_key = strhex_to_data_blob("0102030405060708090a0b0c0d0e0f00"); in torture_ntlmssp_self_check()
52 gensec_ntlmssp_state->session_key.data, in torture_ntlmssp_self_check()
53 gensec_ntlmssp_state->session_key.length); in torture_ntlmssp_self_check()
58 ntlmssp_sign_init(gensec_ntlmssp_state), in torture_ntlmssp_self_check()
90 gensec_ntlmssp_state = gensec_security->private_data; in torture_ntlmssp_self_check()
92 gensec_ntlmssp_state->session_key = strhex_to_data_blob("0102030405e538b0"); in torture_ntlmssp_self_check()
94 gensec_ntlmssp_state->session_key.data, in torture_ntlmssp_self_check()
95 gensec_ntlmssp_state->session_key.length); in torture_ntlmssp_self_check()
[all …]
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/utils/
H A Dntlm_auth.c582 struct gensec_ntlmssp_state *gensec_ntlmssp_state; in manage_gensec_request() local
585 gensec_ntlmssp_state = talloc_get_type(state->gensec_state->private_data, in manage_gensec_request()
586 struct gensec_ntlmssp_state); in manage_gensec_request()
587 neg_flags = gensec_ntlmssp_state->neg_flags; in manage_gensec_request()