Samba配置问题

由 gpliu 在 05-08-2003 21:24 发表:

Samba配置问题

server对samba进行配置后,windows的client在一次输入密码之后

可以自由访问。但是这个windows用户下一次登录这台client的

机器的时候,不用输入密码就可以访问server的资源了。

我想设置为每次访问都必须输入密码的方式,应该怎么作呢?

我的配置文件是:

#smb.conf

[global]

workgroup = HPCC

server string = try

hosts allow = 202.38.76.

netbios name = lab516

printcap name = /etc/printcap

load printers = no

printing = lprng

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

security = user

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:*al

pam password change = yes

obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

username map = /etc/samba/smbusers

dns proxy = no

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

#[homes]

comment = Home Directories

browseable = no

writeable = yes

valid users = %S

security = user

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:*al

pam password change = yes

obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

username map = /etc/samba/smbusers

dns proxy = no

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

#[homes]

comment = Home Directories

browseable = no

writeable = yes

valid users = %S

create mode = 0664

directory mode = 0775

[printers]

comment = All Printers

path = /var/spool/samba

browseable = no

printable = no

[gpliu

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