当前位置: 技术问答>linux和unix
Windows 通过 Samba文件访问 出问题
来源: 互联网 发布时间:2016-05-17
本文导语: 我双击 share-3 提示没有权限访问网络资源 下面是我的全部配置文件 [global] workgroup = MYWORKGROUP security = share netbios name = Linux01 server string = Linux Server smb passwd file = /etc/smbpasswd [share-1] path = /home/dm/share brow...
我双击 share-3 提示没有权限访问网络资源
下面是我的全部配置文件
[global]
workgroup = MYWORKGROUP
security = share
netbios name = Linux01
server string = Linux Server
smb passwd file = /etc/smbpasswd
[share-1]
path = /home/dm/share
browseable = yes
writeable = yes
guest ok = yes
[share-2]
path = /home/dm/share2
browseable = yes
writeable = yes
guest ok = yes
[share-3]
path = /home/dm/test
browseable = yes
writeable = yes
public = yes
valid users = sir,test
[桌面共享]
path = /home/dm/桌面/Sharing
browseable = yes
writeable = yes
guest ok = yes
请指教 谢谢
下面是我的全部配置文件
[global]
workgroup = MYWORKGROUP
security = share
netbios name = Linux01
server string = Linux Server
smb passwd file = /etc/smbpasswd
[share-1]
path = /home/dm/share
browseable = yes
writeable = yes
guest ok = yes
[share-2]
path = /home/dm/share2
browseable = yes
writeable = yes
guest ok = yes
[share-3]
path = /home/dm/test
browseable = yes
writeable = yes
public = yes
valid users = sir,test
[桌面共享]
path = /home/dm/桌面/Sharing
browseable = yes
writeable = yes
guest ok = yes
请指教 谢谢
|
你加行guest ok = yes ,再把valid users = sir,test 去掉结果怎么样?
|
[global]
load printers = Yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba/print
printer = IBMInfoP
browseable = No
public = Yes
guest ok = Yes
writable = No
printable = Yes
printer admin = @ntadmins
[print$]
comment = Printer Drivers Share
path = /var/lib/samba/drivers
write list = ed, john
printer admin = ed, john
guest ok = Yes 是基本起码的
load printers = Yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba/print
printer = IBMInfoP
browseable = No
public = Yes
guest ok = Yes
writable = No
printable = Yes
printer admin = @ntadmins
[print$]
comment = Printer Drivers Share
path = /var/lib/samba/drivers
write list = ed, john
printer admin = ed, john
guest ok = Yes 是基本起码的