[Mark Janssen](https://jira.spring.io/secure/ViewProfile.jspa?name=praseodym) (Migrated from [SEC-3187](https://jira.spring.io/browse/SEC-3187?redirect=false)) said: Currently the [LdapUserDetailsManager changePassword method](https://github.com/spring-projects/spring-security/blob/1f32e96d31c6a149e480ebdb5ce0274889877995/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java#L169-L212) modifies the password attribute directly. It would be better to (optionally) use the [LDAP Password Modify Extended Operation as described in RFC 3062](https://www.ietf.org/rfc/rfc3062.txt). This way, any associated attributes (e.g. Samba NTLM hashed passwords) will also be updated by the LDAP server.