Adding allrealms topology and vlock authentication methods for pam_responder tests - #262
Conversation
|
I think you also need to add a topology controller to handle the setup? Or is client topology controller really sufficient? What is the use case? |
It's sufficient; the original test used dummy Kerberos realms; the realms just need to be resolvable. |
68e1eb6 to
00ee32e
Compare
A workaround for tests that require multiple domains.
Add vlock_smartcard_with_output() and vlock_smartcard() methods to SUAuthenticationUtils to encapsulate the expect script that logs in via su -l, locks the terminal with vlock, verifies a wrong PIN is rejected, then unlocks with the correct smartcard PIN. Co-authored-by: Cursor <cursoragent@cursor.com>
00ee32e to
f4c96cf
Compare
Maybe add a comment there to say that if working Kerberos realm is required, we need to change it? |
I'm using the term 'dummy' loosely, the realm is working, the test does create users in all raelms and ensures that tickets can be issued. I think it's fine then, is that fine with you? |
Co-authored-by: Cursor cursoragent@cursor.com