How to authenticate FreeRadius with OpnenLdap

freeradius-logoFreeRADIUS is a modular, high performance free RADIUS suite developed and distributed under the GNU General Public License, version 2, and is free for download and use. The FreeRADIUS Suite includes a RADIUS server, a BSD-licensed RADIUS client library, a PAM library, an Apache module, and numerous additional RADIUS related utilities and development libraries.

System Information:

Install FreeRadius on Server:

Download radius ldap schema file and copy to ldap schema directory

Include file in ldap configuration file /etc/openldap/slapd.conf

Edit /etc/raddb/modules/ldap and add below entry

In /etc/raddb/ldap.attrmap add below entry

Enable LDAP authentication in /etc/raddb/sites-available/inner-tunnel and /etc/raddb/sites-available/default by uncommenting below lines

Test setup by using below command

How to Add Clinets to Radius

Then restart the radius server

Login to the server: 192.168.2.100
Issue the below command to test the authentication

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
The following two tabs change content below.

Tapas Mishra

Sr. Engineer (DevOps)
Loves to work on Opensource products. Having experience on Linux environment. Knowledge on Public cloud services like AWS, Rackspace, DigitalOcean, Linode. Please don't hesitate to give a comment on the posts. Your comments are my strength.

One thought on “How to authenticate FreeRadius with OpnenLdap

Leave a Reply