Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-102763

LDAP password gets overridden if the login fails for the first time

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 DXP FP86, 7.0.X, 7.1.10 DXP FP14, 7.1.X, 7.2.10 DXP FP1, 7.2.X, Master
    • Fix Version/s: Master
    • Labels:

      Description

      Reproduction steps:

      1. Set up a Liferay DXP instance and connect an LDAP server to it
      2. LDAP is Enabled and Required
      3. "Enable Import" is deactivated
      4. User export to LDAP is activated - without it the issue does not come
      5. Create a completely new user in LDAP and set a default password for it (userPassword attribute) - the issue does not come if the user has been imported to the portal already
      6. Log in with an invalid password
      7. Authentication fails
      8. Try to login with the correct password

      Expected: Successful authentication
      Actual: Authentication fails again and the userPassword attribute has another value in LDAP than before

        Attachments

          Activity

            People

            • Assignee:
              della.wang Della Wang
              Reporter:
              istvan.sajtos Istvan Sajtos
              Participants of an Issue:
              Recent user:
              Della Wang
              Engineering Assignee:
              Istvan Sajtos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 week, 1 day ago

                Packages

                Version Package
                Master