求解: 如何设置LINUX客户端使用SAMBA登录LINUX虚拟NT域?

由 reading 在 12-02-2002 16:41 发表:

求解: 如何设置LINUX客户端使用SAMBA登录LINUX虚拟NT域?

求解: 如何设置linux客户端使用samba登录linux虚拟nt域?

问题: 我使用RED HAT8.0做公司的服务器。成功虚拟了一个名为MLS的域。在WIN9X WIN2K WINXP客户端均能够正常访问。

但是我不知道如何使我的LINUX客户端(RED HAT8)访问主机(linux)。

我查过资料。用smbclient、LinNeighborhood、Gnomba实验过。

上网没有问题,也能够找到主机,

用root用户以匿名的方式也能够正常访问主机的共享文件。

但就是不能像WIN一样用用户名和密码登录“虚拟域”

也就是说我不知道如何让自己LINUX客户机以用户身分连接主机。

用户名:Reading

密码: 123456

〔我的表达可能不太好〕

请大家帮忙解决这个问题 ̄ ̄ 谢谢 ̄!

附录:

我的LINUX主机的smb.conf

[global]

veto files = /.eml/.nws/riched20.dll/.scr/.pif/

dont descend = /proc, /dev

client code page = 936

workgroup = MLS

netbios name = linux

printcap name = /etc/printcap

load printers = yes

printing = lprng

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

max log size = 0

security = user

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd

null passwords = yes

unix password sync = Yes

passwd program = /usr/bin/passwd %u

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

obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

local master = yes

domain master = yes

preferred master = yes

domain logons = yes

dns proxy = no

#============================ Share Definitions ==============================

[homes]

comment = Home Directories

browseable = no

writable = yes

valid users = %S

create mode = 0664

directory mode = 0775

[printers]

comment = All Printers

path = /var/spool/samba

browseable = no

guest ok = no

writable = no

printable = yes

[public]

comment = Public Stuff

path = /home/public

public = yes

writable = yes

write list = @office

[Software]

comment = Software

path = /mnt/sdb/Software

public = yes

writable = yes

write list = @OP

===========================================================

我的LINUX客户机的smb.conf

Samba config file created using SWAT

from 192.168.1.7 (192.168.1.7)

Date: 2002/12/02 14:57:17

Global parameters

[global]

client code page = 936

workgroup = MLS

netbios name = READING

server string = Reading's Linux

security = SHARE

encrypt passwords = Yes

update encrypted = Yes

null passwords = Yes

pam password change = Yes

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

max log size = 0

printing = lprng

[homes]

comment = Home Directories

valid users = %S

read only = No

create mask = 0664

directory mask = 0775

browseable = No

[printers]

comment = All Printers

path = /var/spool/samba

read only = No

guest ok = Yes

printable = Yes

browseable = No

[public]

comment = Public Stuff

path = /home/pub

write list = @staff

read only = No

guest ok = Yes

[hp]

comment = Reading's Linux HP

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