Skip to content
Commit 5d875cc9 authored by Steve French's avatar Steve French
Browse files

When server doesn't provide SecurityBuffer on SMB2Negotiate pick default



According to MS-SMB2 section 2.2.4: if no blob, client picks default which
for us will be
	ses->sectype = RawNTLMSSP;
but for time being this is also our only auth choice so doesn't matter
as long as we include this fix (which does not treat the empty
SecurityBuffer as an error as the code had been doing).
We just found a server which sets blob length to zero expecting raw so
this fixes negotiation with that server.

Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent fdf96a90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment