Differences between revisions 12 and 13
Revision 12 as of 2007-05-17 00:16:02
Size: 955
Editor: ?dodgerfan78
Comment:
Revision 13 as of 2007-05-17 00:21:57
Size: 1227
Editor: ?dodgerfan78
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
client refers to the network that is allowed to pass Radius authentication requests such as wireless AP, L2 switch doing 802.1x, etc.
Line 26: Line 28:
user is the username. There must be one entry for each user.
Line 31: Line 35:

This section is already in the file, scroll way down and modify it.

Back to Home Page ["BuildingALinuxDomain"]

SUMMARY

This is a 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 refers to the network that is allowed to pass Radius authentication requests such as wireless AP, L2 switch doing 802.1x, etc.

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

/etc/freeradius/users

user is the username. There must be one entry for each user.

user    Auth-Type := LDAP

/etc/freeradius/radiusd.conf

This section is already in the file, scroll way down and modify it.

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"]