Public bug reported:

== Impact ==

Logging in with a smart card inserted fails if no module providing smart
card authentication is installed (as it's by default in 22.04).

== Test cases ==

Ensure this profile is set in gdm:

 1. sudo update-alternatives --set gdm-smartcard 
/etc/pam.d/gdm-smartcard-sssd-exclusive
 2. sudo apt remove libpam-sss
 3. sudo systemctl restart gdm
 4. Login with gdm with a smartcard inserted (and not configured)

Repeat the same ensuring that libpam-pkcs11 is not installed and
/etc/pam.d/gdm-smartcard-pkcs11-exclusive is selected via update-
alternatives

 1. sudo update-alternatives --set gdm-smartcard 
/etc/pam.d/gdm-smartcard-pkcs11-exclusive
 2. sudo apt remove libpam-pkcs11
 3. sudo systemctl restart gdm
 4. Login with gdm with a smartcard inserted (and not configured)

== Regression potential ==

Smart card authentication does not work anymore.

User is authenticated even though the smart card authentication failed.

** Affects: gdm3 (Ubuntu)
     Importance: Medium
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Released

** Affects: gdm3 (Ubuntu Jammy)
     Importance: Medium
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/2090884

Title:
  Logging in with a smartcard is not possible if sssd (libpam-sss) is
  not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2090884/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to