配置samba不能使用默认的计算机名称localhost?

由 wyyengr 在 08-22-2003 09:18 发表:

配置samba不能使用默认的计算机名称localhost?

主机装WinXp,客户机装RedHat,开启samba服务以后,在两边都可以正常看到对方的机子的图标,但是

在装WinXp的机子打开RedHat时,会弹出个对话框,上面显示“由于网络上有重名,没有连接。请到控制面板中更改计算机名,然后重试”

在装RedHat的机子打开RedHat时,也会弹出个对话框,上面显示“对不起,无法显示×××机子上的全部内容”而实际上什么也显示不了!

有知道这是怎么回事的大哥吗?


由 lanmaster 在 08-22-2003 09:22 发表:


能把你的配置文件贴出来吗。


成长中的菜鸟!

E-Mail:qcy_[email protected]

QQ :7118899


由 wyyengr 在 08-22-2003 09:28 发表:


其实我什么都没有配置,只是系统重装完后就可以实现共享上网了

不过现在只能单方面共享 原先我有用swat配置的时候也出现这种情况,不知道什么原因会产生这种状况


由 lanmaster 在 08-22-2003 09:51 发表:


你可以看一下论坛里的贴子。配置成SAMBA共享不是很难的。可以不用swat


成长中的菜鸟!

E-Mail:qcy_[email protected]

QQ :7118899


由 wyyengr 在 08-22-2003 10:01 发表:


我的smb.conf,哪位大侠帮忙看下!谢谢!

[global]

workgroup = mshome

server string = samba server

printcap name = /etc/printcap

load printers = yes

printing = cups

log file = /var/log/samba/%m.log

max log size = 0

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes

passwd program = /usr/bin/passwd %u

passwd chat = Newpassword* %n\n Retypenewpassword %n\n *passwd

pam password change = yes

obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

username map = /etc/samba/smbusers

guest ok = yes

guest account = temp

dns proxy = no

[homes]

comment = Home Directories

browseable = no

writeable = yes

valid users = %S

create mode = 0664

directory mode = 0775

[printers]

comment = All Printers

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus