| 1 |
Kerberos |
| 2 |
======== |
| 3 |
|
| 4 |
============== ===== ======== |
| 5 |
Authentication Users Password |
| 6 |
============== ===== ======== |
| 7 |
✔ |
| 8 |
============== ===== ======== |
| 9 |
|
| 10 |
Presentation |
| 11 |
------------ |
| 12 |
|
| 13 |
`Kerberos <https://en.wikipedia.org/wiki/Kerberos_(protocol)>`__ is a |
| 14 |
network authentication protocol used for authenticating users based on |
| 15 |
their desktop session. |
| 16 |
|
| 17 |
LL::NG uses GSSAPI module to validate Kerberos ticket against a local |
| 18 |
keytab. |
| 19 |
|
| 20 |
LL::NG Configuration |
| 21 |
-------------------- |
| 22 |
|
| 23 |
In Manager, go in ``General Parameters`` > ``Authentication modules`` |
| 24 |
and choose Kerberos for authentication. Then go to "Kerberos parameters" |
| 25 |
and configure the following parameters: |
| 26 |
|
| 27 |
- **Keytab file** (required): the Kerberos keytab file (see below.) |
| 28 |
- **Use Ajax request**: set to "enabled" if you want to use an Ajax |
| 29 |
request instead of a direct Kerberos attempt. **This is required if |
| 30 |
you want to chain Kerberos in a** :doc:`combination<authcombination>` |
| 31 |
- **Kerberos authentication level**: default to 3 |
| 32 |
- **Remove domain in username**: set to "enabled" to strip username |
| 33 |
value and remove the '@domain'. |
| 34 |
- **Allowed domains**: if set, tickets will only be accepted if they come |
| 35 |
from one of the domains listed here. This is a space-separated list. |
| 36 |
This feature can be useful when using :doc:`combination<authcombination>` |
| 37 |
and cross-realm Kerberos trusts. |
| 38 |
|
| 39 |
.. attention:: |
| 40 |
|
| 41 |
- Due to a perl GSSAPI issue, you may need to copy the keytab in |
| 42 |
/etc/krb5.keytab which is the default location hardcoded in the |
| 43 |
library |
| 44 |
|
| 45 |
|
| 46 |
Obtaining the Keytab |
| 47 |
~~~~~~~~~~~~~~~~~~~~ |
| 48 |
|
| 49 |
Configuring your environment (Windows domain, workstations, etc) and obtaining |
| 50 |
a keytab for LemonLDAP::NG is quite complex. You can find some guidance |
| 51 |
:doc:`on this page<kerberos>`. |
| 52 |
|