LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 869|回复: 3

我建的samba在windows下无法访问

[复制链接]
发表于 2007-3-1 14:00:11 | 显示全部楼层 |阅读模式
系统是FC6的,别人可以在网上邻居上看到我,并打开。可以看到所有我的共享文件夹,却无法访问这些文件夹
请问如何才能建立匿名可访问的samba


[[Owner@Samba ~]$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[shares]"
Processing section "[share1]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        server string = Server
        security = SHARE
        log file = /var/log/samba/%m.log
        max log size = 50
        dns proxy = No
        cups options = raw

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /usr/spool/samba
        printable = Yes
        browseable = No

[shares]
        path = /home/Owner/shares
        read only = No
        guest ok = Yes

[share1]
        path = /home/Owner/share1
        guest ok = Yes
发表于 2007-3-2 09:48:12 | 显示全部楼层
在共享名中,添加public=yes
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-2 15:59:30 | 显示全部楼层
还是不行,别人可以在网上邻居上看到我,并打开。可以看到所有我的共享文件夹,却无法访问这些文件夹
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-3 12:04:09 | 显示全部楼层
Post by guo8jun
在共享名中,添加public=yes

我在/etc/samba/sam.conff 中的 共享参数下面加了public=yes后可以 了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表