Hi!
I've tried and tried, but can't seem to get this to work. I have a Raspberry Pi as a small home server, and also a couple of Windows machines. I want to be able to change account passwords on the Windows machines from the Raspberry. If I run
"smbpasswd -r HOSTNAME -U windowsaccountusername" a text field where I get to type old password (followed by new password) appears. So far, so good. And I am able to change password on any of the administrator users on the Windows machine in question, but when I try the command on a user with normal privileges, I get to enter old and new password, but then I get this error message:
Code:
SAMR connection to machine NT_STATUS_ACCESS_DENIED failed. Error was HOSTNAME, but LANMAN password changes are disabled
I've searched the web for solutions but to no avail. The Windows machines all run Windows 10, and the Raspberry is running Samba 3.6. I've read some suggestions about putting "ntlm auth = yes" as well as "lanman auth = yes" in the smb.conf, which I tried, of course followed by a "service samba restart", but I still get that stupid error message when I try to change password on non-admin users. Sigh.
Please, could someone with better experience point me in the right direction?