Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 5.2.X EE, 6.0.6 GA, 6.0.12 EE, 6.1.0 CE RC1
    • Fix Version/s: None
    • Labels:
    • Environment:
      Tomcat 6.0.32 + MySQL 5. 6.1.x. Revision 85007
      Tomcat 6.0.32 + MySQL 5. 6.0.x. Revision 85007
      Tomcat 6.0.32 + MySQL 5. 5.2.x. Revision 85007
    • Branch Version/s:
      6.0.x, 5.2.x

      Description

      When importing groups from LDAP on a user by user basis (PortalLDAPImpl.importGroups(...)) fails when the distinguishedName identifying the User contains something like:

      (member=CN=Doe\, John K,CN=Users,dc=company,dc=ad)

      The escaped \, after "Doe" seems to break at least our LDAP system. To ensure this working the distinguishedName should have a replace all that can handle escape characters. The "\" should be replaced by "\5c" ("\" + hex code for a "\")

      Location for problem exists in: com.liferay.portal.security.ldap.PortalLDAPUtil.getNameInNamespace(long ldapServerId, long companyId, Binding binding) (line 349).

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            flavouski Flavel (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 35 weeks, 1 day ago

                Packages

                Version Package