--- a/pam_kwallet.c +++ b/pam_kwallet.c @@ -276,6 +276,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_h if (!password) { pam_syslog(pamh, LOG_NOTICE, "%s: Couldn't get password (it is empty)", logPrefix); +#if 0 //Asking for the password ourselves result = prompt_for_password(pamh); if (result != PAM_SUCCESS) { @@ -284,6 +285,9 @@ PAM_EXTERN int pam_sm_authenticate(pam_h ); return PAM_IGNORE; } +#else + return PAM_IGNORE; +#endif } //even though we just set it, better check to be 100% sure