[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
At startup, GNU Radius obtains the information vital for its functioning from a number of configuration files. These are normally found in /usr/local/etc/raddb directory, which is defined at configuration time, although their location can be specified at runtime. In the discussion below we will refer to this directory by ‘raddb’. See section Naming Conventions.
Each configuration file is responsible for a certain part of the GNU Radius functionality. The following table lists all configuration files along with a brief description of their purposes.
Determines the runtime defaults for radiusd
, such
as the IP address and ports to listen on, the sizes of the request
queues, configuration of the SNMP subsystem, fine-tuning of the
extension languages, etc.
Lists the shared secret belonging to each NAS. It is crucial for the normal request processing that each NAS have an entry in this file. The requests from NASes that are not listed in ‘clients’ will be ignored, as well as those from the NASes that have a wrong value for the shared secret configured in this file.
Defines the types for the known NASes. Its information is used mainly when performing multiple login checking (see section Multiple Login Checking).
Declares the known NAS types. The symbolic type names, declared in this file can be used in ‘naslist’.
Defines the symbolic names for radius attributes and attribute values. Only the names declared in this file may be used in the files ‘users’, ‘hints’ and ‘huntgroups’.
Contains special rules that process the incoming requests basing on the NAS IP and port number they come from. These can also be used as a kind of access control list.
Defines the matching rules that modify the incoming request depending on the user name and its credentials.
Contains the individual users' profiles.
Defines the Radius realms and the servers that are responsible for them.
A list of usernames that should not be allowed access via Radius.
Contains the configuration for the SQL system. This includes the
type of SQL interface used, the IP and port number of the server
and the definition of the SQL requests used by radiusd
.
Contains the source code of functions in Rewrite extension language.
A subdirectory containing the authentication menus.
The rest of this chapter describes each of these files in detail.
4.1 Run-Time Configuration Options — ‘raddb/config’ | Run-time configuration options. | |
4.2 Dictionary of Attributes — ‘raddb/dictionary’ | Radius dictionary. | |
4.3 Clients List — ‘raddb/clients’ | Clients lists the NASes that are allowed to communicate with radius. | |
4.4 NAS List — ‘raddb/naslist’ | The naslist file keeps general information about the NASes. | |
4.5 NAS Types — ‘raddb/nastypes’ | Information about how to query the NASes about active user sessions. | |
4.6 Request Processing Hints — ‘raddb/hints’ | Important user information that is common for the users whose names match some pattern. | |
4.7 Huntgroups — ‘raddb/huntgroups’ | Group users by the NAS (and, possibly, a port number) they come from. | |
4.8 List of Proxy Realms — ‘raddb/realms’ | Communication with remote radius servers | |
4.9 User Profiles — ‘raddb/users’ | User profile. | |
4.10 List of Blocked Users — ‘raddb/access.deny’ | List of users which are denied access. | |
4.11 SQL Configuration — ‘raddb/sqlserver’ | SQL server configuration. | |
4.12 Rewrite functions — ‘raddb/rewrite’ | Rewrite functions allow to change the input packets. | |
4.13 Login Menus — ‘raddb/menus’ | Menus allow user to select the type of service. | |
4.14 Macro Substitution | Macros which are expanded by the actual attribute values. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.