summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
authordtucker <dtucker>2003-09-13 00:41:56 +0000
committerdtucker <dtucker>2003-09-13 00:41:56 +0000
commite95b60494a1a017673558263c7c149af94e77ecc (patch)
tree0a66acb0fd9eb4e20cf88fa3b7a8a5326b43d43b /auth-passwd.c
parent35ee55c90b52ac04ef4111b884877c10b9cc7689 (diff)
downloadopenssh-e95b60494a1a017673558263c7c149af94e77ecc.tar.gz
- (dtucker) [auth-passwd.c] On AIX, call setauthdb() before loginsuccess(),
required to correctly reset failed login count when using a password registry other than "files" (eg LDAP, see bug #543).
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index 57a2d362..95cc134d 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -110,6 +110,7 @@ auth_password(Authctxt *authctxt, const char *password)
pw->pw_name, authmsg);
/* No pty yet, so just label the line as "ssh" */
+ aix_setauthdb(authctxt->user);
if (loginsuccess(authctxt->user, host, "ssh",
&msg) == 0) {
if (msg != NULL) {