Protocol negotiation failed when smbclient searches for windows shared directories: NT_STATUS_CONNECTION_RESET: error resolution

1. Error explanation

Protocol connection failed: connection reset

Second, smbclient reports an error solution when searching for win10 shared directories

method one

Operate in linux

[root@localhost ~]# yum -y install samba
[root@localhost ~]# smbclient -L //192.168.20.1/
Enter SAMBA\root's password: 
Sharename       Type      Comment
	---------       ----      -------
	ADMIN$          Disk      远程管理
	ooo             Disk      
[root@localhost ~]# mount -t cifs //192.168.20.1/ooo /abc  -o username=sensirx,password=sensirx,vers=2.0
[root@localhost ~]# df -Th
文件系统                类型      容量  已用  可用 已用% 挂载点
//192.168.20.1/ooo      cifs      932G  112G  820G   13% /abc

Method Two

The operation in win10 is as follows
Insert picture description here

Guess you like

Origin blog.csdn.net/wulimingde/article/details/109384885