[CentOS] can't find ldapseaerch
Craig White
craigwhite at azapple.com
Sun Nov 14 15:40:58 UTC 2010
On Sat, 2010-11-13 at 18:09 -0500, bluethundr wrote:
> hello list
>
> I'm having a very strange problem with my centos 5.5 system. For some
> strange reason, this machine cannot find ldapsearch:
>
> [root at VIRTCENT13 ~]# ldapsearch
> ldapsearch: Command not found.
>
>
> [root at VIRTCENT13 ~]# whereis ldapsearch
> ldapsearch: /usr/bin/ldapsearch /usr/share/man/man1/ldapsearch.1.gz
>
> ldapsearch currently lives at /usr/bin along with a lot of other
> really very useful tools.
>
>
> /usr/bin is also _clearly_ on my root path:i
>
> [root at VIRTCENT13 ~]# echo $PATH
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
>
> And here are the permissions and modes for this tool:
>
> [root at VIRTCENT13 bin]# ls -l ldapsearch
> -rwxr-xr-x 1 root wheel 65336 Aug 11 09:20 ldapsearch
----
given your 'echo $PATH' it should work... you might want to verify the
package...
[root at srv1 ~]# rpm -q --whatprovides /usr/bin/ldapsearch
openldap-clients-2.3.43-3.el5
[root at srv1 ~]# rpm -V openldap-clients
#
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the CentOS
mailing list