Im trying to transfer a file using samba. I started a smbserver and can not connect to it.
Command:
smbclient -L //ip address/temp
Error:
protocol negotiation failed: NT_STATUS_NOT_SUPPORTED
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityIn last release of Kali there is an issue I encountered too. In order to get smbclient
to work you need to edit the SMB configuration file. And then at least mine worked.
I'm using vi
to I edit the config file as follows:
vi /etc/samba/smb.conf
You need to add the following settings under GLOBAL
:
client min protocol = CORE
client max protocol = SMB3
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
on arch linux. Only upon adding the two lines, I was prompted for a password for the first time (and could log on).
May 24, 2020 at 11:28