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

Cannot sign in as LDAP user with double quote or backslash in DN

    Details

      Description

      1. Add two users to Active Directory that contain a backslash and a double quote in their name so that their DN looks similar to:

      CN=Test quote",OU=grouptest,DC=windows2003,DC=ntlm

      2. Log in as both of these users
      3. Assert neither user is able to log in with errors such as:

      19:43:15,360 ERROR [http-nio-8080-exec-5][LDAPAuth:402] Problem accessing LDAP server
      javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:_	'OU=grouptest,DC=windows2003,DC=ntlm'__]; remaining name 'CN=backslash backslash\\\\\\\,ou=grouptest,dc=windows2003,dc=ntlm' [Sanitized]
      

      and

      19:45:42,554 ERROR [http-nio-8080-exec-3][LDAPAuth:402] Problem accessing LDAP server
      javax.naming.InvalidNameException: CN=Test quote\\\\",ou=grouptest,dc=windows2003,dc=ntlm: [LDAP: error code 34 - 0000208F: LdapErr: DSID-0C090654, comment: Error processing name, data 0, vece_]; remaining name 'CN=Test quote\\\\",ou=grouptest,dc=windows2003,dc=ntlm' [Sanitized]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              jonathan.mccann Jonathan McCann
              Participants of an Issue:
              Recent user:
              Norbert Kocsis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 8 weeks, 5 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP2
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master