Comment 18 for bug 1999884

Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Test summary
------------

Sorry but the test case is unclear to me. I don't consider it has succeeded, I think some steps may be missing.

Test description
----------------

Started Jammy virtual machine, logged in with normal user, installed gdm from jammy/proposed (42.0-1ubuntu7.22.04.1), opened a terminal:

--->
q1@q1-Standard-PC-i440FX-PIIX-1996:~$ pamtester -v gdm-smartcard q1 authenticate
pamtester: invoking pam_start(gdm-smartcard, q1, ...)
pamtester: performing operation - authenticate
Please insert smart card
PIN for Smartcard: [123456 is what I arbitrarily inserted]
pamtester: Authentication service cannot retrieve authentication info
<---

Seeing that this did not match the expected output, I tried the alternative path.

  sudo bash sssd-gdm-smartcard-pam-auth-tester.sh

outputs a bunch during some 20 s. I saw some prompts for password for short durations but I guess those weren't meant for the user because I typed nothing and it nonetheless "finishes successfully". However, I fail to see how this affects GDM. I did not get any log in prompt in GDM, I didn't see GDM.

So I tried

  WAIT=1 sudo bash sssd-gdm-smartcard-pam-auth-tester.sh

This killed the GUI and after some time of black screen GDM popped up normally. I could only log in with my normal user credentials.