Sign up to get Free Ebooks...

I hope you enjoy reading this article. If you are looking for such article ,Click here


Install and Configure LDAP Client in CentOS7 Linux

  • Home
  • /
  • Blog
  • /
  • Install and Configure LDAP Client in CentOS7 Linux
Configure Openldap authentication on client_clouscoop.net

This article is part of OpenLDAP setup and configuration on Centos Linux machine.

Configure LDAP Client

These instructions will be used to configure LDAP Client in order to share users’ accounts in your local networks. In our case, we have the OpenLDAP server configured in the previous article. We are going to access users created on the OpenLDAP server in centos Linux machine.

Install LDAP client libs.

To install the LDAP client and its associated utilities, run the following commands.

# yum -y install openldap-clients nss-pam-ldapd

Next, enable the client system to authenticate using LDAP. You can use the authconfig utility, which is an interface for configuring system authentication resources.

Configure authconfig utility on Centos

Run the following command and replace cloudscoop.net with your domain and dc=cloudscoop,dc=net with your LDAP domain controller.

# authconfig --enableldap --enableldapauth --ldapserver=dlp.cloudscoop.net --ldapbasedn="dc=cloudscoop,dc=net" --enablemkhomedir --update

Note: In the above example, dlp.cloudscoop.net can be resolved from the client machine only if an entry is added to /etc/hosts file. You can use the Private IP of the OpenLDAP server to replace it. Make sure you can connect to the OpenLDAP server from the client machine.

Troubleshooting tips:

  • Do check connectivity between client and server machine.
  • Check firewall settings on the machine. In the testing environment, you can disable the firewall.
  • Check whether ports are open or not from the Cloud provider in the case of the cloud environment.

Click Here for PART 1 of this series.



November 11, 2024

November 11, 2024

November 11, 2024

June 19, 2023

May 31, 2023

May 9, 2023

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>