我尝试使用“unix password sync”设置Samba,但我仍然遇到登录失败.我正在运行Ubuntu Natty Narwhal.
原文链接:https://www.f2er.com/ubuntu/348490.html$smbclient -L localhost Enter stivlo's password: session setup Failed: NT_STATUS_logoN_FAILURE
这是我的/etc/samba/smb.conf
[global] workgroup = obliquid server string = %h server (Samba,Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user [www] path = /var/www browsable = yes read only = no create mask = 0755
修改后我重新启动了服务器:
$sudo restart smbd $sudo restart nmbd
有人可以帮忙吗?先感谢您!