-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.0.X EE, 6.1.2 CE GA3, 6.1.30 EE GA3, 6.2.0 CE M4
-
Environment:Win 2008, liferay-portal-ee 6.1.20
-
Branch Version/s:6.1.x, 6.0.x
-
Backported to Branch:Committed
-
Story Points:8
-
Git Pull Request:
When user is logged in against LDAP server, import to Liferay DB is automatically triggered. This import is done only if needed, i.e. when modification date of the liferay user is different from modification date of LDAP entry.
But the import seems to be processed everytime, when a non-blank password is used for login, see PortalLDAPImportedImpl.updateUser() around line 1103, look for:
if (ldapUserModifiedDate.equals(user.getModifiedDate()) &&
ldapUser.isAutoPassword()) {