Non-root user cannot change Samba password
2
votes
1
answer
6604
views
Samba users cannot change their own passwords. The password can only be changed using root account using the command
smbpasswd -a
But I want users be able to change their passwords by their own. When password is tried to changed using a non-root account I get the below error message.
$ smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILURE
Failed to change password for user1
Any reasons for this? How can I fix this?
Asked by Chamara Keragala
(226 rep)
Oct 23, 2015, 12:56 AM
Last activity: May 16, 2025, 01:01 PM
Last activity: May 16, 2025, 01:01 PM