diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-02 17:10:11 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-02 17:10:11 +1100 |
commit | 42d9dc75ed2eefa6eeffc892f02eb164c1860603 (patch) | |
tree | c10968f34ae3610ac1630718b2b2c967d5a448aa /openbsd-compat/bsd-cray.c | |
parent | ad7646a59ab05ed9d6c156ba952725f44c02de7d (diff) |
- (dtucker) [auth.c loginrec.h openbsd-compat/{bsd-cray,port-aix}.{c,h}]
Make record_failed_login() call provide hostname rather than having the
implementations having to do lookups themselves. Only affects AIX and
UNICOS (the latter only uses the "user" parameter anyway). ok djm@
Diffstat (limited to 'openbsd-compat/bsd-cray.c')
-rw-r--r-- | openbsd-compat/bsd-cray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-cray.c b/openbsd-compat/bsd-cray.c index f630366be..d1f1c059c 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.13 2004/01/30 03:34:22 dtucker Exp $ | 2 | * $Id: bsd-cray.c,v 1.14 2005/02/02 06:10:11 dtucker Exp $ |
3 | * | 3 | * |
4 | * bsd-cray.c | 4 | * bsd-cray.c |
5 | * | 5 | * |
@@ -171,7 +171,7 @@ cray_access_denied(char *username) | |||
171 | * record_failed_login: generic "login failed" interface function | 171 | * record_failed_login: generic "login failed" interface function |
172 | */ | 172 | */ |
173 | void | 173 | void |
174 | record_failed_login(const char *user, const char *ttyname) | 174 | record_failed_login(const char *user, const char *hostname, const char *ttyname) |
175 | { | 175 | { |
176 | cray_login_failure((char *)user, IA_UDBERR); | 176 | cray_login_failure((char *)user, IA_UDBERR); |
177 | } | 177 | } |