| 1 |
The `rlm_krb5` FreeRADIUS module enables the use of Kerberos 5 for |
| 2 |
authentication. |
| 3 |
|
| 4 |
Compilation issues |
| 5 |
================== |
| 6 |
|
| 7 |
MIT libraries |
| 8 |
------------- |
| 9 |
|
| 10 |
The `rlm_krb5` module, by default, presumes you have the MIT Kerberos 5 |
| 11 |
distribution. Notes from that distribution: |
| 12 |
|
| 13 |
On linux, you may have to change: |
| 14 |
|
| 15 |
deplibs_test_method="pass_all" |
| 16 |
|
| 17 |
in `../libtool` |
| 18 |
|
| 19 |
Otherwise, it complains if the krb5 libs aren't shared. |
| 20 |
|
| 21 |
Heimdal libraries |
| 22 |
----------------- |
| 23 |
|
| 24 |
If you are using the Heimdal Kerberos 5 distribution, pass an |
| 25 |
`--enable-heimdal-krb5` option to `configure`. |
| 26 |
|
| 27 |
Configuration parameters |
| 28 |
======================== |
| 29 |
|
| 30 |
You can configure the module with the following parameters: |
| 31 |
|
| 32 |
krb5 { |
| 33 |
# Keytab containing the key used by rlm_krb5 |
| 34 |
keytab = /path/to/keytab |
| 35 |
|
| 36 |
# Principal that is used by rlm_krb5 |
| 37 |
service_principal = radius/some.host.com |
| 38 |
} |
| 39 |
|
| 40 |
Make sure the keytab is readable by the user that is used to run `radiusd` and |
| 41 |
that your authorization configuration really uses `rlm_krb5` to do the |
| 42 |
authentication. You will need to add the following to the 'authenticate' |
| 43 |
section of your radiusd.conf file: |
| 44 |
|
| 45 |
Auth-Type Kerberos { |
| 46 |
krb5 |
| 47 |
} |