Details

      Description

      Description:
      The issue only occurs when the properties ldap.auth.password.encryption.algorithm(set in UI) and passwords.encryption.algorithm.legacy are not null.

      Steps to reproduce:
      1. Set up OpenLDAP server. Please refer to the document:
      Server: http://www.userbooster.de/en/download/openldap-for-windows.aspx
      Browser Tool: LDAP Admin 1.7.2: http://www.ldapadmin.org/download/ldapadmin.html
      2. Set the passwords.encryption.algorithm.legacy=SHA in portal-ext.
      3. Start bundle, go to Control Panel->Configuration->Instance Settings->Configuration->Authentication->LDAP, checked "Enabled", "Required", "Enable Export"(Import / Export) and set SSHA in "Password Encryption Algorithm" to save.
      4. Add LDAP server. Use the below setting.
      In Connection:
      Base Provider URL:ldap://LDAPServerIP:389
      Base DN:dc=maxcrc,dc=com
      Principal:cn=manager,dc=maxcrc,dc=com
      Credentials:secret
      In Export:
      Users DN:ou=People, dc=maxcrc,dc=com
      User Default Object Classes:top,person,inetOrgPerson,organizationalPerson
      Groups DN:
      Group Default Object Classes:

      5. Creat one user "C". And then set password for this user.
      6. Go to LDAP admin to check the user detailed infos as the attachment password_wrong.png
      Actual Behavior: The password display as

      {SSHA}{SSHA}pw......
      

      Expected behavior: The password display as

      {SSHA}pw.......
      

      7. Use the user "C" to login
      Actual Behavior: The user "C" can't login successful.
      Expected behavior: The user "C" login successful.

        Attachments

          Activity

            People

            • Assignee:
              summer.zhang Summer Zhang
              Reporter:
              hai.yu Hai Yu
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 34 weeks, 3 days ago

                Packages

                Version Package
                6.2.X EE
                7.0.0 DXP FP13
                7.0.0 DXP SP3
                7.0.3 CE GA4
                7.0.X EE
                7.1.X
                Master