Commit Graph

6 Commits

Author SHA1 Message Date
Michel Decima
a2437ad2e8 fix: nss responder is configured to be socket-activated
Solves issue #8
2023-09-11 13:51:43 +02:00
Michel Decima
20ec88944c feat: use standard template for ccache file
Default SSSD template for ccache file is /tmp/krb5cc_%U_XXXXXX, where
XXXXXX is a suffix that will be interpreted by mkstemp(3) to create a
unique file name, while the standard configuration of the libkrb5
library is `/tmp/krb5cc_%U`.

To guarantee compatibility with the existing system, we force the use
of the standard model in SSSD.
2022-04-13 15:24:17 +02:00
Michel Decima
c24a4816d6 feat: use DNS discovery to find Kerberos servers
Rationale: when configured with /etc/krb5.conf, SSSD ignores the values
of dns_lookup_kdc and dns_lookp_realm properties, ignores the static kdc
servers declared in the [realms] section, and always try to find the
Kerberos TGT servers using DNS _srv_ discovery, based on the realm name
as search domain (which is not optimal in the Orange network).

It's easier to define how to get the list of Kerberos servers from the
SSSD configuration, because then you can either give a static list of
servers or use DNS discovery by specifying the right search domain.

If krb5_use_kdcinfo property value is true (the default), then the
Kerberos servers are taken from sssd.conf, otherwise if the value is
false then the servers are taken from krb5.conf
2022-01-02 13:15:37 +01:00
Michel Decima
089bb73985 chore: reset debug level in sssd.conf 2021-11-01 19:09:22 +01:00
Michel Decima
d89eea147d feat: disable chpass provider in SSSD configuration
Using the "change password" feature of pam_sss modules always lead to a
bad situation where AD password and Gassi password are not synchronyzed
anymore. To avoid this, we disable the feature in SSSD configuration.

The network password can still be changed using the command `kpasswd`
provided by package `krb5-user`.
2021-11-01 18:58:30 +01:00
Michel Decima
6c7a4fd683 feat: add pam-pkcs11 configuration
Recommends sssd, sssd-tools, libpam-sss
Add SSSD configuration (sssd.conf)
Configure certificates for SSSD (postinst)
Restart SSSD service (postinst)
2021-10-13 09:08:02 +02:00