[CentOS] command line programs for ldap

Rob Townley rob.townley at gmail.com
Sat Mar 28 23:12:21 UTC 2009


On Sat, Mar 28, 2009 at 1:24 PM, Jerry Geis <geisj at pagestation.com> wrote:
>>
>> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

You may want to look at python-ldap and the apps based on it.
http://python-ldap.sourceforge.net/



More information about the CentOS mailing list