samba问题?
ml以前的版本,SAMBA 不用设置和WIN就可以互访装B4后,我只能看成到WIN,而WIN看成不到ML了,
不知该如何办了 :?: 请把配置文件给出来吧。
请用 samba 配置工具,把安全级别设置成“共享”,就应该可以访问了。 如下: 修改以下选项后重启samba服务再试试:
workgroup
host allow
guest account #============================ Share Definitions ==============================
comment = Home Directories
browseable = no
read only = no
# Un-comment the following and create the netlogon directory for Domain Logons
;
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;
; path = /home/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
printable = yes
path = /mnt/hda6/software
请注意如下两个参数的设置:
browseable = no
guest ok = yes
例如:共享"",在 “share“ 级别下,应该为:
[SOFTWARE]
path = /mnt/hda6/software
guest ok = yes
设置好配置文件后,应该在 root 用户下,
首先,执行 :
testparm /etc/samba/smb.conf
这个是为检测 smb.conf 是否有语法错误,不要省略此步;
然后,执行:
/etc/rc.d/init.d/smb restart
重新启动 smb 服务。 试试....................
是否WIN要启动来宾帐户? 不用的。 我觉得用kde控制中心里的配置工具很方便呀
页:
[1]