Differences between revisions 9 and 10
Revision 9 as of 2007-05-03 02:31:20
Size: 963
Editor: ?BobBobly
Comment:
Revision 10 as of 2007-05-10 00:50:47
Size: 967
Editor: ?BobBobly
Comment:
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
{{{ /etc/init.d/freeradius restart }}} {{{
/etc/init.d/freeradius restart
}}}

Back to Home Page ["BuildingALinuxDomain"]

SUMMARY

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:

  • /etc/freeradius/clients.conf
  • /etc/freeradius/users
  • /etc/freeradius/radiusd.conf

/etc/freeradius/clients.conf

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

/etc/freeradius/users

user    Auth-Type := LDAP

/etc/freeradius/radiusd.conf

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

["BuildingALinuxDomain"]