april_linux 发表于 2004-11-26 17:09:45

samba问题?

ml以前的版本,SAMBA 不用设置和WIN就可以互访
装B4后,我只能看成到WIN,而WIN看成不到ML了,
不知该如何办了 :?:

bamfox 发表于 2004-11-26 17:11:41

请把配置文件给出来吧。

请用 samba 配置工具,把安全级别设置成“共享”,就应该可以访问了。

april_linux 发表于 2004-11-26 17:16:01

如下:

MichaelBibby 发表于 2004-11-26 17:35:42

修改以下选项后重启samba服务再试试:
workgroup
host allow
guest account

bamfox 发表于 2004-11-26 18:02:22

#============================ 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 服务。

april_linux 发表于 2004-11-26 19:41:26

试试....................

是否WIN要启动来宾帐户?

bamfox 发表于 2004-11-26 19:50:53

不用的。

tingxx 发表于 2004-11-26 21:31:33

我觉得用kde控制中心里的配置工具很方便呀
页: [1]
查看完整版本: samba问题?