0

In various online tutorials, I found that I could have downloaded and installed LDAP and related packages with the following command.

yum install -y openldap openldap-clients openldap-servers

But after I execute this command, I only get the reports: "no package available".

# yum install -y openldap openldap-clients openldap-servers
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: hkg.mirror.rackspace.com
No package openldap-clients available.
No package openldap-servers available.
Nothing to do.

It looks like I have successfully installed openldap, but actually I downloaded openldap via wget url, and the openldap-server and openldap-client are not installed.

My epel version is 7-14. I checked it through the yum list command, and I did not find the LDAP package that I was looking for.

# yum list | grep openldap
openldap.x86_64                          2.4.44-22.el7                 @anaconda
collectd-openldap.x86_64                 5.8.1-1.el7                   epel   

So how can I install openldap-clients and openldap-servers?

Thanks for any help!

  • After changing a machine, all problems are gone...Maybe it's because there is something wrong with the epel mirror – etherealss Feb 16 '23 at 11:26

0 Answers0