Compare commits

...

10 Commits

Author SHA1 Message Date
Michel Decima
7dabad2684 packaging: bump version number 2026-05-11 11:42:04 +02:00
Michel Decima
264c82600f Merge branch '16-files-provider-deprecation' into develop
Closes issue #16
2026-05-07 17:46:48 +02:00
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
5f43c954be packaging: bump version number 2026-04-17 09:34:59 +02:00
Michel Decima
a1e5400b1d Merge branch '15-dconf-default-proxy' into develop
Closes issue #15
2026-04-17 09:34:20 +02:00
Michel Decima
bb4eb10c54 packaging: remove obsolete config file in d/preinst 2026-04-17 09:33:21 +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
df15139b15 fix(postinst): options for certupdate and dongle-aladdin 2026-04-03 15:45:04 +02:00
Michel Decima
2b0446465b chore: update .gitignore 2025-03-02 17:48:49 +01:00
8 changed files with 30 additions and 21 deletions

20
.gitignore vendored
View File

@@ -4,15 +4,13 @@
# except for .gitignore and .gitlab-ci.yml
!.gitignore
!.gitlab-ci.yml
!.gitattributes
# Ignore packaging output
*.dsc
*.tar.xz
*.deb
*.build
*.changes
*.buildinfo
# Ignore other files
TODO
# ignore packaging output
debian/*.postinst.debhelper
debian/*.postrm.debhelper
debian/*.preinst.debhelper
debian/*.prerm.debhelper
debian/debhelper-build-stamp
debian/files
debian/orange-yourdev-login.substvars
debian/orange-yourdev-login/*

12
debian/changelog vendored
View File

@@ -1,3 +1,15 @@
orange-yourdev-login (0.6.1) UNRELEASED; urgency=medium
* fix: replace provider 'files' with 'proxy' for Ubuntu 26.04 (#16)
-- Michel Decima <michel.decima@orange.com> Mon, 11 May 2026 11:40:39 +0200
orange-yourdev-login (0.6.0) noble; urgency=medium
* remove dconf user profile, moved in orange-yourdev-setup package (#15)
-- Michel Decima <michel.decima@orange.com> Thu, 16 Apr 2026 21:32:23 +0200
orange-yourdev-login (0.5.3) noble; urgency=medium
* fix: avoid useless debconf message about conflict between sss and yourdev

4
debian/postinst vendored
View File

@@ -12,8 +12,8 @@ case "$1" in
# Configure NSS for pam-pkcs11 and pam-sss
mkdir -p /etc/pki/nssdb
orange-certupdate /etc/pki/nssdb >/dev/null || true
orange-dongle-aladdin --force update /etc/pki/nssdb || true
orange-certupdate --batch /etc/pki/nssdb >/dev/null || true
orange-dongle-aladdin update /etc/pki/nssdb || true
# Configure certificates for SSSD (OpenSSL)
mkdir -p /etc/sssd/pki

4
debian/preinst vendored
View File

@@ -12,6 +12,10 @@ case "$1" in
rm -f /etc/dconf/db/gdm.d/02-logo
rm -f /etc/dconf/db/gdm.d/03-smartcard
fi
# in version > 0.6, proxy config was moved to another package
if dpkg --compare-versions "$2" le 0.6 ; then
rm -f /etc/dconf/db/local.d/01-proxy
fi
;;
abort-upgrade)
;;

View File

@@ -1,2 +1 @@
tar-ignore = .git*
tar-ignore = TODO
tar-ignore = .*

View File

@@ -1,3 +0,0 @@
[system/proxy]
autoconfig-url="http://proxypac.si.francetelecom.fr:8080"
mode="auto"

View File

@@ -1,2 +0,0 @@
user-db:user
system-db:local

View File

@@ -22,7 +22,8 @@ offline_credentials_expiration = 0
[domain/ad.francetelecom.fr]
id_provider = files
id_provider = proxy
proxy_lib_name = files
min_id = 1000
max_id = 60000
#