JON LDAP query fails to locate group if the user cn contains a comma or any other special characters.

Solution Verified - Updated -

Issue

  • We have setup JON for LDAP Authentication/Authorization and have found from a wireshark trace that any special characters are not Escaped and the Group search fails to locate assigned Groups for the User. 
  • The userDN needs to be escaped, before the group query is built.

Environment

  • JBoss Operations Network (JON) 2.4.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content