LDAP Authentication using FreeRADIUS

Solutions for RADIUS server

Btech Engineering
btech-engineering
2 min readOct 7, 2022

--

LDAP Authenitication

Overview

RADIUS request will be created and sent to the FreeRADIUS server. Then the RADIUS server will query the LDAP (Lightweight Directory Access Protocol) server if this user is existed and has the right credentials.

Step By Step

1. Add freeradius ldap package in freeradius-srv

2. Install and setup ldap in freeradius-client

3. Add basedn user ldap in freeradius-client

  • Edit file basedn.ldif to create basedn
  • Edit file to create user
  • Verify

4. Add ldap config my_server on freeradius-srv

5. Add ldap module and edit config ldap module on freeradius-srv

6. Make sure ldap server already added on client configuration

Testing

  • FreeRADIUS server
  • FreeRADIUS Client

If connection successfuly

Our Tagline

# Together is Better & Continuous Learning

Author:

Muhammad Fauzan Rafi, Staff of Research | Linkedln

Based On Documentation Research:

Razzaaq Arditian, Staff of Research | LinkedIn

--

--

Btech Engineering
btech-engineering

Our mission is continuous learning and remember together is better.