附上error log
當我登入主機時:
[cheung@sarge cheung]$ smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
cli_pipe: return critical error. Error was Call timed out: server did not respond after 20000 milliseconds
cli_oem_change_password: Failed to send password change for user cheung
machine 127.0.0.1 rejected the password change: Error was : Call timed out: server did not respond after 20000 milliseconds.
Failed to change password for cheung
會是要改變指令嗎? 改看看
[cheung@sarge cheung]$ smbpasswd -r 10.1.1.1 -U cheung
Old SMB password:
New SMB password:
Retype new SMB password:
cli_pipe: return critical error. Error was Call timed out: server did not respond after 20000 milliseconds
cli_oem_change_password: Failed to send password change for user cheung
machine 10.1.1.1 rejected the password change: Error was : Call timed out: server did not respond after 20000 milliseconds.
Failed to change password for cheung
現在小弟在主機上用 passwd 可以做到 系統密碼跟 samba 密碼同步更新 可是要用smbpasswd更新試試看時 才出現這問題
debian 將 smbpasswd 檔放在 /var/lib/samba/secrets.tdb
不知道這會不會造成影響?