Differences between revisions 1 and 2
Revision 1 as of 2007-05-03 00:29:13
Size: 733
Editor: ?dodgerfan78
Comment:
Revision 2 as of 2007-05-03 00:34:34
Size: 832
Editor: ?dodgerfan78
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
RADIUS – LDAP HOWTO: = SUMMRY =
This is a simple guide on how to connect freeradius to an ldap server.
Line 3: Line 4:
Step 1: Install freeradius == Step 1: Install freeradius ==
Line 7: Line 8:
Step 2: Modify the following freeradius configurations file: == Step 2: Modify the following freeradius configurations file: ==
Line 9: Line 10:
/etc/freeradius/clients.conf
/etc/freeradius/users
etc/freeradius/radiusd.conf
 * /etc/freeradius/clients.conf
 * /etc/freeradius/users
 * /etc/freeradius/radiusd.conf
Line 13: Line 14:
Examples:

/etc/freeradius/clients.conf
=== /etc/freeradius/clients.conf ===
Line 21: Line 20:
/etc/freeradius/users === /etc/freeradius/users ===
Line 25: Line 24:
/etc/freeradius/radiusd.conf === /etc/freeradius/radiusd.conf ===
Line 35: Line 34:
Step 3: Restart freeradius == Step 3: Restart freeradius ==

SUMMRY

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

Step 1: Install freeradius

  • apt-get install freedius

Step 2: Modify the following freeradius configurations file:

  • /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