Time for action – connecting FreeRADIUS to LDAP

The following sections will show you how to connect FreeRADIUS to LDAP.

Installing slapd

Ensure slapd is installed on your Linux server. The following table can be used as a guideline to install slapd on each of the three distributions discussed in this book:


Command to install slapd LDAP server


yum install openldap-servers openldap-clients


zypper install openldap2 openldap2-client


sudo apt-get install slapd ldap-utils

After slapd is installed we need to configure it.

Configuring slapd

To get slapd up and running we will use a bare minimum slapd.conf file. This is only for demonstration purposes; do not use it in a production environment.


The proper configuration ...

Get FreeRADIUS Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.