20 Commits

Author SHA1 Message Date
Michel Decima
d23c5fb867 fix(sssd): replace provider 'files' with 'proxy'
In Ubuntu 26.04, the 'files' provider has been removed, see
https://sssd.io/docs/files-provider-deprecation.html

It can be replaced by the 'proxy' provider, with additional
property 'proxy_lib_name' set to 'files'. This configuration
is compatible with Ubuntu 22.04, 24.04 and 26.04 LTS, and all
intermediate versions.

Solves issue #16
2026-05-07 17:40:52 +02:00
Michel Decima
3fe2cd012d fix(dconf): remove user profile configuration
Config file moved to package orange-yourdev-setup, using the same path.
This move causes a conflict between package orange-yourdev-login and
package orange-yourdev-setup.
2026-04-17 09:33:21 +02:00
Michel Decima
d960d91913 fix(dconf): remove default proxy configuration
Configuration file moved to package orange-yourdev-setup, using a
different name (no conflict, duplicate is OK).

Partial solution for #15
2026-04-17 09:33:21 +02:00
Michel Decima
6f51d1144f typo in dconf/db/local.d/01-proxy
Correct domain for proxy URL is .francetelecom.fr not .franceletecom.fr

Solves #10
2025-02-03 09:28:18 +01:00
Michel Decima
3e4f023074 fix: add needrestart config override for sssd-*.service
Solves #11
2025-01-30 21:48:15 +01:00
Michel Decima
1c73b974e5 fix: DConf path for proxy settings is /system/proxy
There is no exact correspondence between the 'org.gnome.x.y' schemas for
gsettings and the DConf '/org/gnome/x/y' paths.  In the particular case
of the 'org.gnome.system.proxy' schema, the corresponding DConf path is
in fact '/system/proxy' ...

Closes #10
2025-01-24 12:40:30 +01:00
Vincent PENVERN
23210993de Change banner message, more prison years and more money... 2024-02-29 15:12:44 +01:00
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
6267240878 feat: new GDM greeter logo
Text in logo is capitalized (YourDev instead of yourdev)
Image file is installed in /usr/share/orange-yourdev-login
2023-01-18 14:09:49 +01:00
Michel Decima
5a6fe5ecc6 chore: use drop-in fragment for pwquality.conf
Solves issue #6
2023-01-18 14:09:41 +01:00
Michel Decima
b3ae7f8023 feat: define default proxy settings for GNOME desktop
The settings have to be defined in a dconf profile named `user`,
which stores its properties in a database named `local`, see
https://help.gnome.org/admin/system-admin-guide/stable/login-fingerprint.html.en
2022-04-27 12:22:19 +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
25db8873f7 chore: use common prefix for dconf/db/gdm.d files 2021-11-02 18:03:22 +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
fc01240154 chore: add eburo-like banner in GDM
I would have preferred something shorter like "trespassers will be shot",
but it seems that it is better to quote an article of the criminal code.

Note: the text of the banner is automatically wrapped by GDM, the use
of line breaks is not required.
2021-10-22 15:03:16 +02: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
Michel Decima
1574958cf5 feat: add pam-pkcs11 configuration
Recommends libpam-pkcs11 package.
Add configuration for Safenet module (pam_pkcs11.conf)
Add UID mapper generator (pkcs11_generate_uids)
Configure certificates for pam_pkcs11 from postinst.
2021-10-12 12:08:41 +02:00
Michel Decima
df1b0f8c36 feat: add GDM customization
disable fingerprint and smartcard login
add a banner text and logo on login screen
2021-10-08 18:10:39 +02:00