我用的是fedora 8
在samba配置后
可以访问linux的主机和一个[docs]的共享目录,其他目录都不能访问.
我找了很长的时间可就是没发现问题出在哪
我的配置文件是这样的
[global]
workgroup = LT
server string = linux_chen
log file = /bar/log/samba/%I/%m.log
max log size = 90000000
security = user
passdb backend = tdbsam
load printers = yes
cups options = raw
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = ALL Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[docs]
path = /usr/share/docs
comment = share doscuments
public = yes
[c6iz]
path = /mnt/disk-1 #一个自动挂载的硬盘#
comment = disk
public = yes
[cina]
comment = chen
path = /home/chen
public = yes
--------------------next---------------------
阅读(557) | 评论(0) | 转发(0) |