Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ldapsearch command not working on knox
Labels:
- Labels:
-
Apache Knox
Explorer
Created ‎09-12-2017 04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On using "ldapsearch" to find groups on knox the output I am getting is "ldapsearch: command not found" . Am I missing something?
1 REPLY 1
Guru
Created ‎09-13-2017 06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Bhushan kumar What do you mean by ldapsearch not working on Knox? I am assuming that you are trying to do ldapsearch from host where knox is installed and getting "ldapsearch: command not found" which means ldap client utilities are not installed.
Installing openldap-clients should fix the issue.
Below is example from Centos7:
[root@pk-test4 ~]# yum provides ldapsearch Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.sjc02.svwh.net * extras: mirror.keystealth.org * updates: centos.mia.host-engine.com openldap-clients-2.4.40-13.el7.x86_64 : LDAP client utilities Repo : base Matched from: Filename : /usr/bin/ldapsearch openldap-clients-2.4.40-13.el7.x86_64 : LDAP client utilities Repo : @base Matched from: Filename : /bin/ldapsearch openldap-clients-2.4.40-13.el7.x86_64 : LDAP client utilities Repo : @base Matched from: Filename : /usr/bin/ldapsearch
