Ubuntu documentation for sssd/kerberos does not authenticate authentication server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
In Progress
|
Undecided
|
Andreas Hasenack | ||
sssd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There is a security flaw in the Ubuntu documentation for using sssd with kerberos. It leaves out authentication of the authentication server. This is easy to fix.
Following the documentation will result in a system that seems to work (apart from known bug https:/
Solution:
(1) When creating the file /etc/sssd/
(2) Make sure that /etc/krb5.keytab is valid.
Step (1) is missing from all documentation. Step (2) is present in some, but not all, pages.
This affects (that I found) the following pages:
https:/
https:/
I believe it also affects the following, but I do not use active directory and cannot check.
https:/
I believe one should probably also add in /etc/sssd/sssd.conf a line to set krb5_use_fast for security reasons, although I do not understand this option well enough to comment definitively.
This applies to all versions, including 18.04.
information type: | Private Security → Public Security |
Changed in sssd (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
Changed in serverguide: | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
Changed in sssd (Ubuntu): | |
assignee: | Andreas Hasenack (ahasenack) → nobody |
Changed in serverguide: | |
status: | Confirmed → In Progress |
Any idea why upstream sets krb5_validate to false by default? I presume because this would require the extra step of creating a service ticket for the host where the login happened, if I understood it correctly?