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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.4.1, 1.5
    • 0.4.5
    • SOAP
    • None

      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)
      

            Unassigned Unassigned
            5de7ed0cbd95 BrianY
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: