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 4abe0031..2254e746 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -36,5 +36,10 @@
# include <sys/timers.h>
#endif
+#ifdef WITH_AIXAUTHENTICATE
+# define CUSTOM_FAILED_LOGIN 1
+void record_failed_login(const char *user, const char *ttyname);
+#endif
+
void aix_usrinfo(struct passwd *pw);
#endif /* _AIX */