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

Deactivate will change to active after imported by LDAP

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Prepare two instance A and B
      2. Start Instance A and deploy vldap
      3. Add 2 users in A and named usera and userb
      4. Deactivate userb
      5. Go to instance B
      6. Set the following in portal-ext.properties
         ldap.base.provider.url.0=ldap://localhost:11389
         ldap.base.dn.0=ou=liferay.com,o=Liferay
         ldap.security.principal.0=test@liferay.com
         ldap.security.credentials.0=test
         ldap.auth.search.filter.0=(&(sn=@screen_name@)(|(status=0)(status=5)))
         ldap.contact.mappings.0=
         ldap.contact.custom.mappings.0=
         ldap.user.default.object.classes.0=top,person,inetOrgPerson,organizationalPerson
         ldap.user.mappings.0=screenName=cn\npassword=userPassword\nemailAddress=mail\nfirstName=givenName\nlastName=sn\njobTitle=title\ngroup=description
         ldap.user.custom.mappings.0=
         ldap.group.default.object.classes.0=top,groupOfUniqueNames
         ldap.group.mappings.0=groupName=cn\ndescription=description\nuser=uniqueMember
         ldap.import.user.search.filter.0=(&(objectClass=inetOrgPerson)(|(status=0)(status=5)))
         ldap.import.group.search.filter.0=(objectClass=groupOfUniqueNames)
         ldap.users.dn.0=ou=users,dc=example,dc=com
         ldap.groups.dn.0=ou=groups,dc=example,dc=com
         ldap.import.interval=1
      7. Start Instance B
      8. Flag Enabled,Import Enabled
      9. Wait One minute and check the User Import

      Expect Result
      Both usera and userb are imported. Userb is still deactivate.

      Acutal result:
      Both usera and userb are imported and active.

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              yunlin.sun Yunlin "Steven" Sun
              Participants of an Issue:
              Recent user:
              Tomas Polesovsky (topolik)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package