mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s4:ntlmssp: remove mem_ctx from check_password() callback to match s3
metze
This commit is contained in:
parent
f31d144e70
commit
d5cbfbb93a
@ -118,7 +118,6 @@ struct gensec_ntlmssp_state
|
||||
*
|
||||
*/
|
||||
NTSTATUS (*check_password)(struct gensec_ntlmssp_state *,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
DATA_BLOB *nt_session_key, DATA_BLOB *lm_session_key);
|
||||
|
||||
const char *server_name;
|
||||
|
@ -570,7 +570,6 @@ NTSTATUS ntlmssp_server_auth(struct gensec_security *gensec_security,
|
||||
|
||||
/* Finally, actually ask if the password is OK */
|
||||
nt_status = gensec_ntlmssp_state->check_password(gensec_ntlmssp_state,
|
||||
NULL,
|
||||
&user_session_key,
|
||||
&lm_session_key);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
@ -646,9 +645,8 @@ static NTSTATUS auth_ntlmssp_set_challenge(struct gensec_ntlmssp_state *gensec_n
|
||||
* Return the session keys used on the connection.
|
||||
*/
|
||||
|
||||
static NTSTATUS auth_ntlmssp_check_password(struct gensec_ntlmssp_state *gensec_ntlmssp_state,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
DATA_BLOB *user_session_key, DATA_BLOB *lm_session_key)
|
||||
static NTSTATUS auth_ntlmssp_check_password(struct gensec_ntlmssp_state *gensec_ntlmssp_state,
|
||||
DATA_BLOB *user_session_key, DATA_BLOB *lm_session_key)
|
||||
{
|
||||
NTSTATUS nt_status;
|
||||
struct auth_usersupplied_info *user_info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user