summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-13 10:41:56 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-13 10:41:56 +1000
commit2270c7e8aa380a95628ec4faaf5544c0cbb70da5 (patch)
treef88dd328e85e76ed4aecc009d13e246700f3ae1d /auth-passwd.c
parentdc7e65646fc2811b58d67dc6c3bfb0740047c552 (diff)
- (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) {