Uploaded image for project: 'Crowd'
  1. Crowd
  2. CWD-183

Problems with LDAP group or user names that contain / or \.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 0.4.5
    • Fix Version/s: 1.4.1, 1.5
    • Component/s: SOAP
    • Labels:
      None

      Description

      The following LDAP exception occurs when reading in a group named !Website Feedback/Support from an Active Directory server:

      org.springframework.ldap.UncategorizedLdapException: Operation failed; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0
      ]; remaining name 'cn=!Website Feedback/Support, ou=Distribution Lists, ou=Groups, dc=corp, dc=example, dc=com'
      javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0
      ]; remaining name 'cn=!Website Feedback/Support, ou=Distribution Lists, ou=Groups, dc=corp, dc=example, dc=com'
              at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3025)
              at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
              at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
      

      This exception then propergates to the wire layer as an exception on the client:

      org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not parse message.
      org.codehaus.xfire.fault.XFireFault: Could not parse message.
      	at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:78)
      	at org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              briany BrianY
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: