• S
    When server doesn't provide SecurityBuffer on SMB2Negotiate pick default · 5d875cc9
    Steve French 提交于
    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: NSteve French <smfrench@gmail.com>
    5d875cc9
smb2pdu.c 61.5 KB