Commit 5657ab7c authored by Rudolf Polzer's avatar Rudolf Polzer
Browse files

Allow for up to three attempts on every PAM call unless a conversation error...

Allow for up to three attempts on every PAM call unless a conversation error occurred (i.e. cancelled by user or timeout).

Also remove the EXIT_ON_CONVERSATION_ERROR and instead detect PAM
modules calling converse() a second time after having received an error
and exit then. Allows us to exit "cleanly" after conversation errors.

Also despam logging by hiding any errors that have been retried or
caused by a conversation error.
parent b2dcdc47
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment