LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 686|回复: 2

samba出现的奇怪问题

[复制链接]
发表于 2003-7-25 15:38:37 | 显示全部楼层 |阅读模式
这是我的配置文件:
# 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和密码无法进入
各位高手帮忙查查原因!
谢谢
发表于 2003-7-25 16:01:15 | 显示全部楼层
invalid users->valid users
 楼主| 发表于 2003-7-25 16:46:46 | 显示全部楼层
斑竹,我太丢人了,居然犯这种低级错误
惭愧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表