Back to Home Page ["BuildingALinuxDomain"]


This is a simple guide on how to connect freeradius to an ldap server.

Step 1: Install freeradius

 apt-get install freeradius 

Step 2: Modify the following freeradius configuration files:


client x.x.x.x/x 
        secret = secret


user    Auth-Type := LDAP


ldap {
      server = “x.x.x.x”
      identity = “cn=admin,dc=example,dc=com”
      password = password
      basedn = “dc=example,dc=com”
      filter = “(uid=%{Stripped-User-Name:-%{User-Name}})”

Step 3: Restart freeradius

/etc/init.d/freeradius restart