After an upgrade to 42.3 from 13.1 smbpasswd rejets password changes if used by other user than root.
pruebas@tutatis:/etc/samba> smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
SAMR connection to machine 127.0.0.1 failed. Error was
NT_STATUS_ACCESS_DENIED, but LANMAN password changes are disabled
then I edited smb.conf, added
client NTLMv2 auth = no
client lanman auth = yes
restarted samba
root@tutatis:/etc/samba> service smb restart ; service nmb restart ; service winbind restart
and the different error but I continue getting an error
pruebas@tutatis:/etc/samba> smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILURE
pruebas@tutatis:/etc/samba>
It’s old and it’s suppposed to be solved, but I tried to disable password sync… and it worked.
Now I can change password as a normal user with smbpassd… anyway password sync stopped working long time ago…