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

Upgrade from 6.2: Default LDAP Configurations (ldap.connection.*) does not carry over

    Details

      Description

      Steps to Reproduce

      1. Start up a clean instance Liferay Portal 6.2 
      2. Set up an LDAP authentication
      3. Navigate to Control Panel > Server Administration > Log Levels and set all classes related to LDAP to DEBUG
      4. Log in as an LDAP user
      5. Observe that in the DEBUG logs, the java.naming.provider.url listed includes the three connection settings set by default in portal.properties

        java.naming.provider.url=ldap://localhost:10389, java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, com.sun.jndi.ldap.connect.timeout=500com.sun.jndi.ldap.connect.pool=true, java.naming.security.principal=cn=ldapadmin,dc=example,dc=com, java.naming.security.credentials=*******, java.naming.referral=follow, *com.sun.jndi.ldap.read.timeout=15000}

      6. Shut down Liferay and upgrade the instance to DXP 7.2
      7. In DXP 7.2, navigate to Control Panel > Server Administration > Log Levels and set all classes related to LDAP to DEBUG
      8. Log in as an LDAP user

      Expected Behavior: In the debug logs, the java.naming.provider.url also contains the three connection properties

      Actual Behavior: In the debug logs, the java.naming.provider.url does not contain the three connection properties

       java.naming.provider.url=ldap://localhost:10389, java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.security.principal=cn=ldapadmin,dc=example,dc=com, java.naming.security.credentials=********, java.naming.referral=follow}

      Testing

        Attachments

          Activity

            People

            Assignee:
            della.wang Della Wang (Inactive)
            Reporter:
            alberto.chaparro Alberto Chaparro
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Engineering Assignee:
            Stian Sigvartsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              36 weeks, 6 days ago

                Packages

                Version Package
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                Master