Hello,
I am using privacyidea-pam (2.19-1trusty) on a debian jessie.
If I login with the correct auth all works as expected.
If I try to login with a wrong auth, the login hangs on the password and came never back.
I expect that the login says: Login incorrect.
Any Idea what why it hangs?
I debug a little bit and I see that the privacyidea-pam returns 7(pamh.PAM_AUTH_ERR).
the pam.d file says:
account required pam_permit.so
session required pam_permit.so
auth sufficient pam_python.so /lib/security/privacyidea_pam.py url=https://url debug
auth required pam_deny.so
denying login with pam_deny.so works.
denying login with pam_python.so /usr/share/doc/libpam-python-doc/examples/pam_deny.py
works also.