Samba的一个问题(奇怪)
SAMBA服务器运行正常,可以在WINDOWS的机器上找到LINUX机,但在用户验证的时候就是通不过,我试过很多次了,不可能是密码输入错误或用户权限不足,防火墙也设置到最低级别,我是新手,不知哪犯了错误?? 你有没有用smbpasswd添加用户 添加了,由于怀疑自己输错密码,所以试了3遍,用VI进入smbpasswd里也可以看到用户 smb passwd file = /etc/samba/smbpasswdusername map = /etc/samba/smbusers
加上这两个看行不行。 我把smb.conf中没有用#号注释的内存放上来吧(前半部份),请各位高手指教一下哪里出了问题..........
workgroup = mygroup
server string = samba server
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
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
............ /etc/init.d/smb restart 试一试,
页:
[1]