[CentOS] command line programs for ldap

Jerry Geis geisj at pagestation.com
Sat Mar 28 19:24:46 UTC 2009


>
> On Sat, Mar 28, 2009 at 12:57 PM, Jerry Geis <geisj at pagestation.com <http://lists.centos.org/mailman/listinfo/centos>> wrote:
> >/ Hi all. I am looking for some command line programs (pre made)
> />/ that will connect to an ldap server and list out the users in question
> />/ provided by the search argument given.
> /
> What wrong with "getent passwd"?
>
> ldapsearch uid=*whatever* ?
>   
ldapsearch was the command I was finding on oracles web page.

whereis ldap on my machine produced nothing.

yum provides ldapsearch produced nothing
then I remembered I needed yum provides "*/ldapsearch" and found
openldap-clients

Thanks

Jerry


More information about the CentOS mailing list