diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-05-02 23:42:25 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-05-02 23:42:25 +1000 |
commit | 97363a8b24601bad631f6f187c487a166f7eb959 (patch) | |
tree | 22ddbb3b4756f7579003e3f18b2a2e690cf5d11d /openbsd-compat/bsd-cray.c | |
parent | 3c01654deb235191d798a5254561624872a7f010 (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.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-cray.c b/openbsd-compat/bsd-cray.c index edb3112b..4875af86 100644 --- a/openbsd-compat/bsd-cray.c +++ b/openbsd-compat/bsd-cray.c @@ -1,5 +1,5 @@ /* - * $Id: bsd-cray.c,v 1.8 2002/09/26 00:38:51 tim Exp $ + * $Id: bsd-cray.c,v 1.9 2003/05/02 13:42:25 dtucker Exp $ * * bsd-cray.c * @@ -143,6 +143,14 @@ cray_access_denied(char *username) return (errcode); } +/* + * record_failed_login: generic "login failed" interface function + */ +record_failed_login(const char *user, const char *ttyname) +{ + cray_login_failure((char *)user, IA_UDBERR); +} + int cray_setup (uid_t uid, char *username, const char *command) { |