I get error "SAMR connection to machine NT_STATUS_ACCESS_DENIED failed" trying to synchronize passwords.


Article ID: 129145


Updated On:


CA Privileged Access Manager - Cloakware Password Authority (PA) PAM SAFENET LUNA HSM CA Privileged Access Manager (PAM)


When I try to synchronize the password on a MS Windows computer, the operation fails and I get the following error message in tomcat log file (catalina.out):

WARNING: Updating credential for account <username> on server <hostname> by OWN account with net rpc didn't succeed.
Reason: [SAMR connection to machine NT_STATUS_ACCESS_DENIED failed. Error was <hostname>, but LANMAN password changes are disabled]. Use rwin to do this operation again.


The remote MS Windows computer security policy has the remote account changes disabled.


Any PAM server version.


You might need to check the local security policy > security options of the affected MS Windows host.
Probably the remote account changes may be inhibited.

Additional Information

See also: Using "smbpasswd" (Samba) to change Windows passwords over LAN.