mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
Add some return values, and don't attempt signing for NTLMSSP yet (it uses a
different algorithm). Andrew Bartlett
This commit is contained in:
parent
574e8a8ab7
commit
e6f87c7ee5
@ -464,7 +464,7 @@ static BOOL cli_session_setup_ntlmssp(struct cli_state *cli, const char *user,
|
||||
pstring server_domain; /* FIX THIS, SHOULD be UCS2-LE */
|
||||
|
||||
neg_flags = NTLMSSP_NEGOTIATE_UNICODE |
|
||||
NTLMSSP_NEGOTIATE_128 |
|
||||
NTLMSSP_NEGOTIATE_128 |
|
||||
NTLMSSP_NEGOTIATE_NTLM |
|
||||
NTLMSSP_REQUEST_TARGET;
|
||||
|
||||
@ -573,8 +573,6 @@ static BOOL cli_session_setup_ntlmssp(struct cli_state *cli, const char *user,
|
||||
if (cli_is_error(cli))
|
||||
return False;
|
||||
|
||||
set_signing_on_cli(cli, pass, nthash);
|
||||
|
||||
return True;
|
||||
}
|
||||
|
||||
|
@ -119,7 +119,9 @@ BOOL cli_receive_smb(struct cli_state *cli)
|
||||
|
||||
if (!cli_check_sign_mac(cli)) {
|
||||
DEBUG(0, ("SMB Signiture verification failed on incoming packet!\n"));
|
||||
return False;
|
||||
};
|
||||
return True;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user