summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
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/port-aix.h
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/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 4abe00316..2254e7462 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -36,5 +36,10 @@
36# include <sys/timers.h> 36# include <sys/timers.h>
37#endif 37#endif
38 38
39#ifdef WITH_AIXAUTHENTICATE
40# define CUSTOM_FAILED_LOGIN 1
41void record_failed_login(const char *user, const char *ttyname);
42#endif
43
39void aix_usrinfo(struct passwd *pw); 44void aix_usrinfo(struct passwd *pw);
40#endif /* _AIX */ 45#endif /* _AIX */