Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
FreeRADIUS Beginner's Guide

You're reading from   FreeRADIUS Beginner's Guide Master authentication, authorization, and accessing your network resources using FreeRADIUS

Arrow left icon
Product type Paperback
Published in Sep 2011
Publisher Packt
ISBN-13 9781849514088
Length 344 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Preface 1. Introduction to AAA and RADIUS FREE CHAPTER 2. Installation 3. Getting Started with FreeRADIUS 4. Authentication 5. Sources of Usernames and Passwords 6. Accounting 7. Authorization 8. Virtual Servers 9. Modules 10. EAP 11. Dictionaries 12. Roaming and Proxying 13. Troubleshooting A. Pop Quiz Answers Index

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:

Distribution

Command to install slapd LDAP server

CentOS

yum install openldap-servers openldap-clients

SUSE

zypper install openldap2 openldap2-client

Ubuntu

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.

Note

The proper configuration of slapd is beyond the scope of this book. This chapter will only help to configure a very basic slapd LDAP server.

CentOS

Follow these steps to configure slapd on CentOS:

  1. Make a backup of the original slapd.conf file:
    cp /etc/openldap/slapd...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image