summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authordtucker <dtucker>2003-05-02 13:42:25 +0000
committerdtucker <dtucker>2003-05-02 13:42:25 +0000
commitc3a6ee73cabe8b0768da50a70fab01c1929afa05 (patch)
tree45a9314f59bbc02135796f5e5a8f41eb5bf9aa25 /openbsd-compat/port-aix.h
parentf737fa8341959aa9efbc1f74bdf5bf912d277a47 (diff)
downloadopenssh-c3a6ee73cabe8b0768da50a70fab01c1929afa05.tar.gz
- (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 */