Regarding the Centos7 Samba client cannot connect, it prompts protocol negotiation failed: NT_STATUS_IO_TIMEOUT error

Regarding the Centos7 Samba client cannot connect, it prompts protocol negotiation failed: NT_STATUS_IO_TIMEOUT error

The Samba service needs to be configured according to the requirements of the topic. After the configuration is complete, the Samba client software package samba-client is installed, and the above error is displayed using smbclient -U smb1 //192.168.12.13/smbshare .
Configuration file:
Configuration file
error message:
Error message
firewalld and selinux have been closed. . The service also starts normally. Baidu and Google tried many solutions and finally solved it.
Solution:
The root of the problem is that the DNS server set when creating the cloud host is the public IP address.
DNS server configuration
Just comment out the nameserver to access it normally. But I have never understood the connection between Samba and dns resolution.
Comment out DNS
verification
Validation results

[参考](https://xvcat.com/post/443)

Guess you like

Origin blog.csdn.net/Zh_SaTan/article/details/82796977