Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

ldapsearch command not working on knox

avatar

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

avatar

@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