summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-08-15 00:09:11 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-08-15 00:09:11 +1000
commit397a2f2612901785d8290a90ae9aa59efb422c92 (patch)
treef198523b224e4cb58a70755b26304f54fda3e010 /openbsd-compat/port-aix.h
parent3d50c9bda6b7eb63325e577c243e1a59a130c3ad (diff)
- (dtucker) [loginrec.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]
Plug AIX login recording into login_write so logins will be recorded for all auth types.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 3b82652d..29e9751c 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,4 +1,4 @@
-/* $Id: port-aix.h,v 1.20 2004/06/23 03:45:24 dtucker Exp $ */
+/* $Id: port-aix.h,v 1.21 2004/08/14 14:09:12 dtucker Exp $ */
/*
*
@@ -65,6 +65,8 @@ void aix_usrinfo(struct passwd *);
# define CUSTOM_SYS_AUTH_PASSWD 1
# define CUSTOM_SYS_AUTH_ALLOWED_USER 1
int sys_auth_allowed_user(struct passwd *);
+# define CUSTOM_SYS_AUTH_RECORD_LOGIN 1
+int sys_auth_record_login(const char *, const char *, const char *);
# define CUSTOM_FAILED_LOGIN 1
void record_failed_login(const char *, const char *);
#endif