summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cray.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-05-02 23:42:25 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-05-02 23:42:25 +1000
commit97363a8b24601bad631f6f187c487a166f7eb959 (patch)
tree22ddbb3b4756f7579003e3f18b2a2e690cf5d11d /openbsd-compat/bsd-cray.c
parent3c01654deb235191d798a5254561624872a7f010 (diff)
- (dtucker) Move handling of bad password authentications into a platform
specific record_failed_login() function (affects AIX & Unicos).
Diffstat (limited to 'openbsd-compat/bsd-cray.c')
-rw-r--r--openbsd-compat/bsd-cray.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-cray.c b/openbsd-compat/bsd-cray.c
index edb3112b3..4875af868 100644
--- a/openbsd-compat/bsd-cray.c
+++ b/openbsd-compat/bsd-cray.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * $Id: bsd-cray.c,v 1.8 2002/09/26 00:38:51 tim Exp $ 2 * $Id: bsd-cray.c,v 1.9 2003/05/02 13:42:25 dtucker Exp $
3 * 3 *
4 * bsd-cray.c 4 * bsd-cray.c
5 * 5 *
@@ -143,6 +143,14 @@ cray_access_denied(char *username)
143 return (errcode); 143 return (errcode);
144} 144}
145 145
146/*
147 * record_failed_login: generic "login failed" interface function
148 */
149record_failed_login(const char *user, const char *ttyname)
150{
151 cray_login_failure((char *)user, IA_UDBERR);
152}
153
146int 154int
147cray_setup (uid_t uid, char *username, const char *command) 155cray_setup (uid_t uid, char *username, const char *command)
148{ 156{