summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-11-13 23:46:18 +1100
committerDamien Miller <djm@mindrot.org>2001-11-13 23:46:18 +1100
commite49d0966b5e8e4ff4eb993f1b8511932dfcf7bf8 (patch)
tree8f89c9cfa2f0af078577106fd3492c7af192caf9 /auth1.c
parent056ca1eb473e2d4bd9fa867feb26f94a36f5d877 (diff)
- (djm) AIX login{success,failed} changes. Move loginsuccess call to
do_authenticated. Call loginfailed for protocol 2 failures > MAX like we do for protocol 1. Reports from Ralf Wenk <wera0003@fh-karlsruhe.de>, K.Wolkersdorfer@fz-juelich.de and others
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/auth1.c b/auth1.c
index 6d40219be..1fbfad90a 100644
--- a/auth1.c
+++ b/auth1.c
@@ -29,10 +29,6 @@ RCSID("$OpenBSD: auth1.c,v 1.25 2001/06/26 16:15:23 dugsong Exp $");
29/* import */ 29/* import */
30extern ServerOptions options; 30extern ServerOptions options;
31 31
32#ifdef WITH_AIXAUTHENTICATE
33extern char *aixloginmsg;
34#endif /* WITH_AIXAUTHENTICATE */
35
36/* 32/*
37 * convert ssh auth msg type into description 33 * convert ssh auth msg type into description
38 */ 34 */
@@ -428,14 +424,6 @@ do_authentication()
428 packet_send(); 424 packet_send();
429 packet_write_wait(); 425 packet_write_wait();
430 426
431#ifdef WITH_AIXAUTHENTICATE
432 /* We don't have a pty yet, so just label the line as "ssh" */
433 if (loginsuccess(authctxt->user,
434 get_canonical_hostname(options.reverse_mapping_check),
435 "ssh", &aixloginmsg) < 0)
436 aixloginmsg = NULL;
437#endif /* WITH_AIXAUTHENTICATE */
438
439 /* Perform session preparation. */ 427 /* Perform session preparation. */
440 do_authenticated(authctxt); 428 do_authenticated(authctxt);
441} 429}