How to do it...

After completing the setup of LDAP server on Ubuntu, and creating a few users and groups, we shall now try to configure our client machines, to remotely authenticate with the server:

  1. The first step  is to install a few packages on the client machine so that authentication functions properly with the LDAP server. To install the packages, we run the following command:
apt-get install libpam-ldap nscd

  1. During the installation, various questions will be asked, the same way as they were asked during the installation of the server components.
  2. The first information to be asked for will be the LDAP server's Uniform Resource Identifier, ...

Get Practical Linux Security Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.