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

Logging in with SAML/LDAP causes invalid filter error

Details

    • 4
    • Regression Bug

    Description

      Steps to reproduce:

       1. Configure Idp and SP

       2. Add LDAP server to both of Idp and SP

       3.Navigate to Instance Settings>LDAP>General Enable and Import> Enable Import Enable Import on Startup are checked 

       4.Navigate to SAML Admin>Service Provider, Check LDAP Import Enabled and Save

       5.logout SP

       6.login SP

      Actual Result:

      login failed. console log throw the following error.

      2019-12-03 07:15:24.844 WARN [http-nio-9080-exec-7][LDAPUserImporterImpl:287] Problem accessing LDAP server Invalid filter (mail=(PLACEHOLDER))
       2019-12-03 07:15:24.846 ERROR [http-nio-9080-exec-7][BaseSamlStrutsAction:59] Problem accessing LDAP server Invalid filter (mail=(PLACEHOLDER))

      Sign in page shows 'Unable to process SAML request'. see login.png

      Expected Result:

      Login successfully and no error throws.

       

      Full console log on Jenkins:

      https://testray.liferay.com/reports/production/logs/test-1-18/1575337909275/test-portal-acceptance-pullrequest(master)/2483/functional-tomcat90-mysql57-jdk8/7/0/jenkins-console.txt.gz

      Reproduced on: Tomcat 9.0.17 + MySQL 5.7. Portal master GIT ID: 564284ba0c071fc6502995df4f49e875eb82c647.

      Attachments

        Issue Links

          Activity

            People

              brooke.dalton Brooke Dalton
              della.wang Della Wang (Inactive)
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 13 weeks, 6 days ago

                Packages

                  Version Package
                  Master