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

If ldap.import.group.search.filter.enabled=false, no groups import

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.2.0 CE RC1, 6.2.0 CE RC2
    • Fix Version/s: 7.0.0 Beta 3
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x CE GIT ID: 9329749835f03e59b1f7a1fa5ca82400fee0d2ca.
      Tomcat 7.0 + MySQL 5. Portal ee-6.2.x EE GIT ID: d87327eedfbca274864c667628c9f434fe92a11c.
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Set up Microsoft Active Sever LDAP
      2. Configure lifery portal to use LDAP with the following:
        ldap.import.group.search.filter.enabled=false
        ldap.import.enabled=true
        ldap.import.on.startup=true
        
        
      3. Create one user group in the baseDn
      4. Create one user group not in the baseDn but in the same tier as the users
      5. Add user to both user groups
      6. Restart the server

      Expected result:

          #
          # If set to true, the group filter will be applied, but only to groups in
          # the specified base DN. If set to false, the filter will not be applied and
          # all groups that are associated with the imported users will be imported
          # regardless of the base DN.
          #
          ldap.import.group.search.filter.enabled=true
      

      Actual result:
      When the property is set to true, all groups that are associated with the imported users will be imported. When the property is set to false, then only the groups in the base DN will be imported. So the expected and actual results are reversed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 44 weeks ago

                  Packages

                  Version Package
                  7.0.0 Beta 3