The fix on LPS-55208 modifies LDAPUserExporterImpl
(PortalLDAPExporterImpl
in Portal 6.2 EE) in a way that the user is only exported to LDAP when the user's modifiedDate
field changed.
When you change the password for a user only, then the call stack is a bit different and the user object is not updated so the modifiedDate stays the same. Therefore no export will take place.
Resolution
Status: Fixed
Steps to Reproduce
- Build up a Liferay Portal LDAP environment.
- Log in with an imported user.
- Change only the password.
- Try to log in with the new password.
Expected Result
User can log in with the new password
Actual Result
User cannot log in. They can log in with the old password though.
...
if (modifiedDate.equals(user.getModifiedDate())) {
...
Solution
If you encounter this issue, please open a Help Center ticket and request a hotfix with LPS-55246.