How to do it...

We shall now start to install and configure LDAP on the Ubuntu server:

  1. We will first update the package list on the server from Ubuntu's repositories to get information about the latest versions of all the packages and their dependencies:

sudo apt-get update
  1. Now, run the command to install the slapd package and some associated utilities, and ldap-utils to install the LDAP server:

  1. During the installation process, when prompted, enter and confirm an administrator password, which will be used for the administrator account of LDAP. Configure a password of your choice and proceed with the installation process.
  2. Once the ...

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.