mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
5c180649fe
Restricts negotiation to SMB2-only. This will make it easier to remove the SMB1-only parts of the server later. The only allowed pre-SMB2 requests are a NBSSrequest (to set the client NetBIOS name) and a 'normal' NBSSmessage containing an SMB1 negprot. This allows smbd_smb2_server_connection_read_handler() to work with older clients that use an initial SMB1negprot to bootstrap into SMB2. Eventually all other parts of the SMB1 server will be removed. Not yet used. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Mulder <dmulder@samba.org>