IBM Support

IV29944: INVALID DISTINGUISHED NAME STRING ERROR EVEN A VALID RDN STRING

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: LdapName aaa = new LdapName ('cn=user\\,cn=ibm');
    will cause java.lang.IllegalArgumentException thrown
    .
    Stack Trace: Exception in thread 'main'
    java.lang.IllegalArgumentException: Invalid distingui
    shed name string
            at
    org.apache.harmony.security.x509.DNParser.getByte(DNParser.java:
    378)
            at
    org.apache.harmony.jndi.internal.parser.RelaxedDnParser.hexAV(Re
    laxed
    DnParser.java:115)
            at
    org.apache.harmony.jndi.internal.parser.RelaxedDnParser.parse(Re
    laxed
    DnParser.java:215)
            at
    org.apache.harmony.jndi.internal.parser.LdapRdnParser.getListFor
    Rdn(L
    dapRdnParser.java:227)
            at javax.naming.ldap.Rdn.<init>(Rdn.java:111)
            at
    org.apache.harmony.jndi.internal.parser.LdapNameParser.getList(L
    dapNa
    meParser.java:110)
            at javax.naming.ldap.LdapName.<init>(LdapName.java:57)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • javax.naming.ldap.LdapName doesn't recognize the name correctly
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR12
    6.0.1 SR4
    .
    Add code to adapt the situation with "\\" in name
    

Temporary fix

  • N/A
    

Comments

APAR Information

  • APAR number

    IV29944

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-11

  • Closed date

    2012-10-11

  • Last modified date

    2012-11-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 November 2012