Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I get the ldapsearch on Scientific Linux?

I am trying to find the ldapsearch client for Scientific Linux but cannot find how to install the client in order to do LDAP queries.

share|improve this question
Since SL is based on RHEL wouldn't the install info for ldapsearch on RHEL work? You may also look at OpenLDAP and see if that gets you the search tool you like. – TheCleaner Dec 18 '12 at 17:26
up vote 17 down vote accepted

Use yum whatprovides to see what package provides a file. The following was run on SL6.x:

$ yum whatprovides */ldapsearch
openldap-clients-2.4.23-15.el6.x86_64 : LDAP client utilities
Matched from:
Filename    : /usr/bin/ldapsearch
share|improve this answer

It's part of the openldap-clients package, so yum install openldap-clients.

The package contents are thus:

$ repoquery -lq openldap-clients
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.