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

Unable to import group from LDAP in Liferay 6.0.5 with ldap.import.method=user

    Details

      Description

      Unable to import group from LDAP in Liferay 6.0.5 with : ldap.import.method=user (but works with ldap.import.method=group).

      I want to point that group importation works fine in Liferay 5.2.3 with the same LDAP configuration.

      Below the LDAP configuration :

      ##

        1. LDAP
          ##

      #configuration du LDAP
      ldap.base.provider.url=ldap://myHost:389
      ldap.base.dn=dc=myCompany,dc=fr
      ldap.security.principal=cn=admin,dc=myCompany,dc=fr
      ldap.security.credentials=password

      ldap.auth.enabled=true

      ldap.auth.required=false

      ldap.auth.search.filter=(uid=@screen_name@)

      ldap.import.enabled=true
      ldap.import.on.startup=false
      ldap.import.interval=10
      ldap.import.user.search.filter=(objectClass=person)
      ldap.import.group.search.filter=(objectClass=groupOfUniqueNames)

      ldap.user.mappings=screenName=uid\npassword=userPassword\nemailAddress=mail\nfirstName=givenName\nlastName=sn\ngroup=memberOf

      ldap.group.mappings=groupName\=cn\ndescription\=description\nuser\=uniqueMember

      ldap.import.method=user

      ldap.import.create.role.per.group=true

      ldap.export.enabled=false

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 46 weeks, 4 days ago