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

Can't change user's e-mail address if LDAP export is enabled

    Details

      Description

      Steps to reproduce

      1. Setup LDAP connection to an LDAP server and use (mail=@email_address@) as auth search filter
      2. Enable LDAP authentication in portal
      3. Enable LDAP export
      4. Login with the administrator user (test@liferay.com for default login)
      5. Create a user
      6. Change the e-mail address of the user

      With debugging the process, at a point the following LDAP request can be observed:

      javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
      Message ID : 29
          Add Request :
      Entry
          dn[n]: uid=testuser,dc=example,dc=com
          objectclass: top
          objectclass: person
          objectclass: inetOrgPerson
          objectclass: organizationalPerson
          uid: testuser
          mail: testuser@example.com
          sn: Test
          title: Developer
          cn: Test User
          givenName: Vilmos
      : ERR_250_ENTRY_ALREADY_EXISTS uid=testuser,dc=example,dc=com already exists!]; remaining name 'uid=testuser,dc=example,dc=com'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              vilmos.papp Vilmos Papp
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 30 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1