Rlm krb5
From FreeRADIUS Wiki
Contents |
FreeRADIUS Kerberos 5 Module (rlm_krb5)
Compilation issues
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 support
If you are using the Heimdal Kerberos 5 distribution, pass a --enable-heimdal-krb5 to the configure line. With Heimdal, you'll need to have a radius/your.hostname.example.org key in your keytab (which needs to be readable by the user running the RADIUS server).
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
}