Novell SUSE Linux
Enabling users to authenticate through RADIUS is simple to install. However, it becomes complicated when wanting to enable users based on group membership in eDirectory.
Install and configure FreeRADIUS (See Technical Information Document 3857). To alter the configuration for group-based authentication, follow these steps :
- Change the DEFAULT Auth-Type in the /etc/raddb/users file to Reject instead of LDAP
- Duplicate the DEFAULT section (order is important - see additional notes)
- On the first DEFAULT entry, change Auth-Type to LDAP
- On the first DEFAULT entry, change Fall-Through to "no" or 0
- On the first DEFAULT entry (and before the Auth-Type), insert a new parameter of"Ldap-Group == ", followed by the group name in quotes, followed by a comma. This step is not necessary with freeradius version 1.1.7-22.214.171.124 or later.
- Remove the attribute mapping in the "LDAP Group - SERVER" object for "RADIUS:Enable Dial Access" to "dialupAccess"
- Restart the FreeRADIUS service (/etc/init.d/radiusd restart)
The order of the DEFAULT entries in the users' file is important. If a DEFAULT with an Auth-Type of Reject is found, a rejection will be sent, marking subsequent entries as"unused". This means that the last DEFAULT entry with an Auth-Type of Reject should be the last entry in the file.