IBM Support

IZ78236: RETRIEVING USEROBJECT'S ATTRIBUTES FROM LDAP SERVER RESULTS IN N AMENOTFOUNDEXCEPTION WHEN ATTRIBUTES CONTAINS NON-ASCII CHARACTE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: While querying and retrieving Userobject's
    Attributes from LDAP Server(Active Directory) results in
    NameNotFoundException if the attributes contains non-ASCII
    character or DBCS characters.
    .
    Stack Trace: javax.naming.NameNotFoundException
    ?LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD,problem
    2 (NO_OBJECT), data 0, best match of:
    'OU=HLD-BNG Client Users,OU=WFL,OU=Client
    Users,DC=hld,DC=root,DC=local'
    \u0000?; Remaining name: ''
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3078)
    at
    com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2999)
    at
    com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2806)
    at
    com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1321)at
    com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes
    (ComponentDirContext.java:225)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttribute
    s(PartialCompositeDirContext.java:133)
    at com.sun.jndi.ldap.LdapReferralContext.getAttributes
    (LdapReferralContext.java:493)
    at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1354)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes
    (ComponentDirContext.java:225)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttribute
    s (PartialCompositeDirContext.java:133)
    .
    NA
    

Local fix

Problem summary

  • JNDI Strips DBCS/non-ASCII characters in the LDAP Referral,
    resulting in NameNotFoundException
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    .
    JNDI code is modified to handled the decoding of DBCS/non-ASCII
    characters properly.
    .
    To obtain the fix:
    Install build 20100717 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ78236

  • 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

    2010-06-30

  • Closed date

    2010-07-26

  • Last modified date

    2010-07-26

  • 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 PSN

       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:
26 July 2010