|
我在配置用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 = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes
preferred master = yes
local master = yes
domain logons = yes
logon script = %U.bat
logon path =\\lixserver\Profiles\%U
dns proxy = no
[homes]
comment = H Drive
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[netlogon]
comment = Logon services in network
path=/etc/samba/netlogon
guest ok = yes
writable = no
locking = no
public = yes
browseable = yes
share modes = no
就是这些东西,我相信大哥大姐们一定能够快速告诉我,我在等着急!!!!!!!!!! |
|