From 97363a8b24601bad631f6f187c487a166f7eb959 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 2 May 2003 23:42:25 +1000 Subject: - (dtucker) Move handling of bad password authentications into a platform specific record_failed_login() function (affects AIX & Unicos). --- openbsd-compat/bsd-cray.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbsd-compat/bsd-cray.h') diff --git a/openbsd-compat/bsd-cray.h b/openbsd-compat/bsd-cray.h index a09954f2f..d2489f4bf 100644 --- a/openbsd-compat/bsd-cray.h +++ b/openbsd-compat/bsd-cray.h @@ -1,5 +1,5 @@ /* - * $Id: bsd-cray.h,v 1.7 2003/03/21 01:05:38 mouring Exp $ + * $Id: bsd-cray.h,v 1.8 2003/05/02 13:42:25 dtucker Exp $ * * bsd-cray.h * @@ -42,6 +42,8 @@ void cray_init_job(struct passwd *); /* init cray job */ void cray_job_termination_handler(int); /* process end of job signal */ void cray_login_failure(char *username, int errcode); int cray_access_denied(char *username); +#define CUSTOM_FAILED_LOGIN 1 +void record_failed_login(const char *user, const char *ttyname); extern char cray_tmpdir[]; /* cray tmpdir */ #ifndef IA_SSHD #define IA_SSHD IA_LOGIN -- cgit v1.2.3