急!急!小弟在线等候解答!

由 zhi918 在 07-17-2003 18:33 发表:

急!急!小弟在线等候解答!

我在配置用RedHat Linux7.1作域控制器建立一个域lixdomain,用windows98作为客户机登入lixdomain域,可是我一直出这样的问题,搞的我要死也没有搞定:

(我的win98 IP:192.168.123.2 name:xinshi,Linux IP:192.168.123.1 name:lixserver)

1.在xinshi(win98)中Ping 192.168.123.1正常,但是在网上邻居中搜索计算机却找不到!

2.#adduser ProUser

#passwd ProUser

#cat /etc/passwd | mksmbpasswd.sh>/etc/smbpasswd

#smbpasswd ProUser

#/etc/rc.d/init.d/smb restart

但是我在win98中以ProUser用户登入域不了!

3.回到lixserver中

#smbclient -L \\lixserver

提示为add interface IP=192.168.123.1 bcast=192.168.123.255 nmask=255.255.255.0

password:

回车后:Anonymous login successful

Domain=[lixdomain] OS=[unix] server=[samba.2.0.7]

share name type comment

public printer public staff

netlogon disk network logon service

server comment

lixserver linux OS!

workgroup master

lixdomain ------

但是要是输入密码(任何正确的)都会出现:

Session setup failed:ERRSRV - ERRbadpw(Badpassword -name/password pair in a Tree connect or session setup are invalid.)

#smbclient -L \\xinshi

出现password:后不论输入任何东西都会出现:

Anonymous login successful

它的下面内容是:

share name type comment

win98 Disk

IPC$ IPC Remote Inter Process Communication

server comment

lixserver Linux OS!

xinshi Windows OS!

workgroup master

lixdomain xinshi

3.我的smb.conf是这样的,请大家看看:

[global]

netbios name = lixserver

workgroup = lixdomain

server string = linux server

host allow =192.168.123.

printcap name = /etc/printcap

load printers = yes

printing = lprng

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

max log size = 50

security = user

eencrypt passwords =yes

smb passwd file = /

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