Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      4
    • Similar Issues:
      Show 5 results 

      Description

      1. Create 2 users, one with screennames test, test2
      2. Configure something to authenticate with LDAP against Liferay
      3. Try to sign in with test or test2, one of them should fail because both users are returned in the response

      Also may depend on this property, users.search.with.index=true. Seems searching with index doesn't do wildcard queries anymore.

        Activity

        Hide
        Amos Fong added a comment -

        committing a temporary fix. The user search really needs to be reworked because it does "like" searches, it should be doing "equal" searches. Also userId and uuid searches don't take into account the params.

        Show
        Amos Fong added a comment - committing a temporary fix. The user search really needs to be reworked because it does "like" searches, it should be doing "equal" searches. Also userId and uuid searches don't take into account the params.
        Hide
        Amos Fong added a comment -

        Adding new code so Liferay can be used as both server and client.

        Authentication still fails if the client only asks for 1 result to be returned.

        Show
        Amos Fong added a comment - Adding new code so Liferay can be used as both server and client. Authentication still fails if the client only asks for 1 result to be returned.
        Hide
        Amos Fong added a comment -

        Test steps:
        Liferay Server:
        -Set users.search.with.index=false
        -Deploy Vldap-plugin
        -Create 3 users with screennames: atest, test, test2.

        Liferay Client:
        -Set authentication type to "screen name"
        -Go to LDAP and add a server based on server's settings (attached example)
        -Try to sign in as test

        It should fail before these fixes.

        Show
        Amos Fong added a comment - Test steps: Liferay Server: -Set users.search.with.index=false -Deploy Vldap-plugin -Create 3 users with screennames: atest, test, test2. Liferay Client: -Set authentication type to "screen name" -Go to LDAP and add a server based on server's settings (attached example) -Try to sign in as test It should fail before these fixes.
        Hide
        Serena Song (Inactive) added a comment - - edited

        PASSED Manual Testing following the steps in the comment.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 5308f05b9ba56742d10546a3b92298597519800c.
        Plugins 6.2.x EE GIT ID: 5570ead43873f29e1800f37e6ed13e4ae0e2e1b2.

        VLDAP web returns multiple users for screen name auth.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.30 GA3.
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 33edca5fc2b2ddee566d9895ba68642beb1dd4cd.
        Plugins 6.1.x EE GIT ID: dd598ee102b0b91bdd115f777fdca504aaf50adc.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 36eb583fab8ce867f111491104a9a38f6eb4f508.
        Plugins 6.2.x EE GIT ID: ca1427a96e455c53d8839d224dd0f7e3968c018d.

        Test can login in successfully.

        Show
        Serena Song (Inactive) added a comment - - edited PASSED Manual Testing following the steps in the comment. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 5308f05b9ba56742d10546a3b92298597519800c. Plugins 6.2.x EE GIT ID: 5570ead43873f29e1800f37e6ed13e4ae0e2e1b2. VLDAP web returns multiple users for screen name auth. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.30 GA3. Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 33edca5fc2b2ddee566d9895ba68642beb1dd4cd. Plugins 6.1.x EE GIT ID: dd598ee102b0b91bdd115f777fdca504aaf50adc. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 36eb583fab8ce867f111491104a9a38f6eb4f508. Plugins 6.2.x EE GIT ID: ca1427a96e455c53d8839d224dd0f7e3968c018d. Test can login in successfully.

          People

          • Assignee:
            Serena Song (Inactive)
            Reporter:
            Amos Fong
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 39 weeks, 4 days ago

              Development

                Structure Helper Panel