mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).
put unicode strings after SAMLOGON query regardless of whether it's an NT mailslot or a non-NT mailslot, after having observed this behaviour out of NT machines.
This commit is contained in:
@@ -196,10 +196,11 @@ static BOOL rpc_auth_pipe(struct cli_state *cli, prs_struct *rdata,
|
||||
if (auth_verify)
|
||||
{
|
||||
crc32 = crc32_calc_buffer(data_len, reply_data);
|
||||
if (!rpc_auth_ntlmssp_chk(&chk, crc32 , &cli->ntlmssp_seq_num))
|
||||
if (!rpc_auth_ntlmssp_chk(&chk, crc32 , cli->ntlmssp_seq_num))
|
||||
{
|
||||
return False;
|
||||
}
|
||||
cli->ntlmssp_seq_num++;
|
||||
}
|
||||
return True;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user