Java LdapSearch class to obtain sample entries from LDAP

Solution Verified - Updated -

Issue

  • We need to see some entries in an LDAP server but we do not have the ldapsearch command in the host.
  • Support engineers requested to see a sample user or group entry from the LDAP server but do not know how to get them.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6
    • 7
  • JDK 1.7+

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