File: rlm_krb5

package info (click to toggle)
freeradius 3.0.17%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,080 kB
  • sloc: ansic: 110,697; sh: 5,096; perl: 2,653; sql: 1,352; python: 1,267; makefile: 429; xml: 62; tcl: 35; sed: 23; ruby: 22
file content (47 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
The `rlm_krb5` FreeRADIUS module enables the use of Kerberos 5 for
authentication.

Compilation issues
==================

MIT libraries
-------------

The `rlm_krb5` module, by default, presumes you have the MIT Kerberos 5
distribution. Notes from that distribution:

On linux, you may have to change:

    deplibs_test_method="pass_all"

in `../libtool`

Otherwise, it complains if the krb5 libs aren't shared.

Heimdal libraries
-----------------

If you are using the Heimdal Kerberos 5 distribution, pass an
`--enable-heimdal-krb5` option to `configure`.

Configuration parameters
========================

You can configure the module with the following parameters:

    krb5 {
        # Keytab containing the key used by rlm_krb5
        keytab = /path/to/keytab

        # Principal that is used by rlm_krb5
        service_principal = radius/some.host.com
    }

Make sure the keytab is readable by the user that is used to run `radiusd` and
that your authorization configuration really uses `rlm_krb5` to do the
authentication. You will need to add the following to the 'authenticate'
section of your radiusd.conf file:

    Auth-Type Kerberos {
        krb5
    }