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.
I found some mention of it from oracle but I did not see where they can be downloaded. Is something like this available and I just havent found them?
Thanks,
Jerry
On Sat, Mar 28, 2009 at 12:57 PM, Jerry Geis geisj@pagestation.com 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* ?
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.
I found some mention of it from oracle but I did not see where they can be downloaded. Is something like this available and I just havent found them?
Have you looked at ldapsearch?
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
On Sat, Mar 28, 2009 at 1:24 PM, Jerry Geis geisj@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@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/