linux 架构smb samba cifs
参考
https://blog.csdn.net/sparrowwf/article/details/81064318
smb.conf
#指定smb1,加上:
[global]
workgroup = SAMBA
server min protocol = NT1
参考:
https://askubuntu.com/questions/1265923/configuring-20-04-samba-for-smbv1#:~:text=Second%2C if you are talking about that specific ,to%20must%20have%20SMB1%20enabled%20on%20its%20side.
挂载命令
mount -t cifs -o username=test,password=123456,rw,file_mode=0777,dir_mode=0777,uid=0,gid=0,vers=2.0 //192.168.1.1/share /mnt/share
有时Permission denied重启服务器可以解决

浙公网安备 33010602011771号