我无法连接到刚刚从Windows 10创建的Linux Samba共享。我在Windows上收到“您没有访问权限...”错误消息。任何帮助将不胜感激。看来我太近了!仅供参考,我可以ping,ssh到linux框中,等等。网络连接似乎不是问题。
这是smb.conf ...
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
log level = 2
printcap name = cups
load printers = yes
cups options = raw
hosts allow = 192.168.1.220 192.158.1.230 192.168.1.240 192.168.1.0/24
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
[fshare]
browseable = yes
path = /home/fshare
public = yes
writeable = yes
read only = no
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777
valid users = sambauser
就我而言,我必须chmod共享文件夹。作为根:
chmod -R 777 / home / shares /
相当残酷,但足以满足我的家庭需求。