Debian Codegraph @

doc/sources/admin/authradius.rst

raw
1 Radius
2 ======
3
4 ============== ===== ========
5 Authentication Users Password
6 ============== ===== ========
7 ✔
8 ============== ===== ========
9
10 Presentation
11 ------------
12
13 LL::NG uses `Perl
14 Authen::Radius <http://search.cpan.org/~manowar/RadiusPerl-0.12/Radius.pm>`__
15 as a simple authentication backend.
16
17 Currently, the module is simply handling a Radius Authentication request
18 and has been tested only against a FreeRadius server.
19
20 Configuration
21 -------------
22
23 Install Authen::Radius
24 ~~~~~~~~~~~~~~~~~~~~~~
25
26 You have to install the corresponding Perl module.
27
28 For CentOS/RHEL:
29
30 .. code-block:: shell
31
32 yum install perl-Authen-Radius
33
34 In Debian/Ubuntu, install the library through APT
35
36 .. code-block:: shell
37
38 apt install libauthen-radius-perl
39
40 Configuration of LL::NG
41 ~~~~~~~~~~~~~~~~~~~~~~~
42
43 In Manager, go in ``General Parameters`` > ``Authentication modules``
44 and choose Radius for authentication.
45
46
47 .. tip::
48
49 You can then choose any other module for users and
50 password.
51
52 Then, go in ``Radius parameters``:
53
54 - **Authentication level**: authentication level for Radius module
55 - **Shared secret**: this is the passphrase to use to connect to the
56 Radius server
57 - **Server hostname**: this is the hostname or IP address of the Radius
58 server. Since 2.18.0 you can specify multiple servers, separated by spaces, for failover.
59 - **Authentication timeout** (Optional): Allowed time to perform authentication
60 - **Authenticate Radius requests**: Use the Message-Authenticator attribute to
61 protect requests.
62 - **Exported variables**: radius attributes stored in user session at
63 authentication time. key is name in user session and value is
64 attribute name in radius dictionary.
65 - **Dictionary**: radius dictionary file ex: /usr/share/freeradius/dictionary
66 This is mandatory to handle attributes as names or to send request attributes.
67 - **Request attributes**: a list of additional Radius attributes to send with
68 the Access Request. Key is the radius attribute name in the provided
69 dictionary, value is a perl expression used to populate the attribute value.
70