|
我的电脑连接两个局域网,eth0是连接上网那个局域网,而eth1是和学生的局域网相连,我能上网,就是在我设置samba时smblient自己可以,就是连不上学生的机器,而且学生的机器也看不到samba服务器,我用的是fc3,samba为3.01,防火墙已关,两个局域网的工作组都叫server(怀疑是不是因为这个),希望大家能帮我一下, smb.conf如下:
[global]
dos charset = cp936
unix charset = cp936
workgroup = TEACHER
netbios name = WWW
server string = samba server
security = SHARE
min password length = 0
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
ldap ssl = no
guest ok = Yes
hosts allow = 192.168.0., 127.0.0.1
[winh]
path = /mnt/winh
[ml]
path = /down
guest only = Yes |
|