Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

ldapsearch command not working on knox

New Contributor

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

@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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.