|
这是我的配置文件:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/07/24 19:18:24
# Global parameters
[global]
netbios name = LINUX
server string = Samba Server
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = cups
[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
printable = Yes
browseable = No
[share]
comment = share
path = /share
username = test
invalid users = test
write list = @staff
read only = No
当我从win2000连接时,输入系统普通用户test的用户名(test)和密码,可以看见printer、test、share三个目录,并可以进入test目录中,但当我进入share目录时,提示我输入用户名和密码,然后我把share目录的权限设为777,还是提示我输入用户名和密码,不知道这时我该输入什么,因为还输入test和密码无法进入
各位高手帮忙查查原因!
谢谢 |
|