[文件共享] Win10连接报错
Win10连接文件共享报错:因为文件共享不安全,所以你不能连接到文件共享。此共享需要过时的SMB1协议,而此协议是不安全的,可能会使你的系统遭受攻击。 你的系统需要SMB2或更高版本。
/etc/samba/smb.conf.template中修改server min protocol 没有效果
root@GL-SFT1200:/mnt/sda1# cat /var/etc/smb.conf
netbios name = GL-SFT1200
display charset = UTF-8
interfaces = lo br-lan
server string = GL-SFT1200-98c
unix charset = UTF-8
workgroup = WORKGROUP
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = share
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes
server min protocol = SMB2
server max protocol = SMB2
comment = Home Directories
browsable = no
read only = no
create mode = 0750
path = /mnt/sda1
read only = yes
guest ok = yes
windows上samba1使能了没?如果没使能可以使能看一下
萝卜大侠 发表于 2022-2-28 10:49
windows上samba1使能了没?如果没使能可以使能看一下
文件共享的账号密码是什么呀?我输入root的账号密码不行啊
https://tuchuangs.com/imgs/2022/09/01/770e021e9d642c6f.png Young-olo 发表于 2022-9-1 23:19
文件共享的账号密码是什么呀?我输入root的账号密码不行啊
guest ok = yes//允许匿名访问
页:
[1]