IBM Support

PH09574: PI97974 WAS ABOUT LDAP SEARCH FILTER ISSUE, WHICH DID NOT HANDLE PARENTHESIS CORRECTLY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PI97974 was about LDAP Search filter issue, which did not
    handle parenthesis correctly.
     LdapRegistryI 3
    CN=xxxxx\(rtp\),CN=Users,dc=wasl3sec2,dc=raleigh,dc=ibm,dc=com:
    [LDAP: error code 34 - 0000208F: LdapErr: DSID-0C090787,
    comment: rror processing name, data 0, v1db1
    -----
    After upgrading from version 9.0.0.7 to 9.0.0.10, user searches
    fail in both the administrative console and the systems,
    apparently by the character parentheses '(' ')' -  \(xyz1\) in
    the DN of the entries in the LDAP directory. With the rollback
    to FP 7 the authentication works again.
    Exception stack
     LdapRegistryI E  SECJ0352E: Could not get the users matching
    the pattern cn=my UserName  \(xyz1\),ou=Users,o=IBM,o=com
    because of the following exception
    javax.naming.InvalidNameException: cn=my UserName
    \(xyz1\),ou=Users,o=IBM,o=com: [LDAP: error code 34 - Invalid
    DN Syntax]; remaining name 'cn=my UserName
    \(xyz1\),ou=Users,o=IBM,o=com'
        at
    com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3105)
        at
    com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2903)
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1858)
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1781)
        at
    com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentD
    irContext.java:404)
        at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Parti
    alCompositeDirContext.java:370)
        at
    org.apache.aries.jndi.DelegateContext.search(DelegateContext.jav
    a:360)
        at
    javax.naming.directory.InitialDirContext.search(InitialDirContex
    t.java:287)
        at
    com.ibm.ws.security.registry.ldap.LdapRegistryImpl.performAuthen
    tication(LdapRegistryImpl.java:2262)
        at
    com.ibm.ws.security.registry.ldap.LdapRegistryImpl.search(LdapRe
    gistryImpl.java:2233)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: LDAP user search fails when the         *
    *                      user's DN includes parenthesis          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Due to side effect of PI97974 (included in 9.0.0.10 and
    8.5.5.15), LDAP search for the user whose DN name includes
    parenthesis fails. It is due to unnecessary escape character
    in the DN.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH09574

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-11

  • Closed date

    2019-04-17

  • Last modified date

    2019-04-17

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022