]> andersk Git - openssh.git/commitdiff
- (dtucker) [auth-passwd.c] On AIX, call setauthdb() before loginsuccess(),
authordtucker <dtucker>
Sat, 13 Sep 2003 00:41:56 +0000 (00:41 +0000)
committerdtucker <dtucker>
Sat, 13 Sep 2003 00:41:56 +0000 (00:41 +0000)
   required to correctly reset failed login count when using a password
   registry other than "files" (eg LDAP, see bug #543).

ChangeLog
auth-passwd.c

index 16b45949b29a202e8e9aad8fdd6029fb4ef51f24..ff3e1ff46b706eb72c7d30a305f64d51999f64a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 20030913
  - (dtucker) [regress/agent-timeout.sh] Timeout of 5 sec is borderline for
    slower hosts, increase to 10 sec.
+ - (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).
 
 20030912
  - (tim) [regress/agent-ptrace.sh] sh doesn't like "if ! shell_function; then".
index 57a2d362002c0eda8a5b485c6c6f2c1ae0ce6cca..95cc134de9eef28624ae562993327e0e4f299361 100644 (file)
@@ -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) {
This page took 1.3999 seconds and 5 git commands to generate.