Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry up to 3 times on password authentication failure #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rehanzo
Copy link

@rehanzo rehanzo commented Nov 28, 2023

Resolves #82

#102 was closed a few days ago, so I decided to take my shot. Took a look at the comments you left, and based my changes on that.

For the pam loop, I took a look and retrying authentication with a loop seems like an expected thing to do. From https://www.ibm.com/docs/en/aix/7.2?topic=p-pam-authenticate-subroutine:

On failure, it is the responsibility of the calling application to maintain a count of authentication attempts and to reinvoke the subroutine if the count has not exceeded a defined limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Multiple tries
1 participant