diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-15 00:09:11 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-15 00:09:11 +1000 |
commit | 397a2f2612901785d8290a90ae9aa59efb422c92 (patch) | |
tree | f198523b224e4cb58a70755b26304f54fda3e010 /openbsd-compat/port-aix.h | |
parent | 3d50c9bda6b7eb63325e577c243e1a59a130c3ad (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h index 3b82652db..29e9751ce 100644 --- a/openbsd-compat/port-aix.h +++ b/openbsd-compat/port-aix.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: port-aix.h,v 1.20 2004/06/23 03:45:24 dtucker Exp $ */ | 1 | /* $Id: port-aix.h,v 1.21 2004/08/14 14:09:12 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * | 4 | * |
@@ -65,6 +65,8 @@ void aix_usrinfo(struct passwd *); | |||
65 | # define CUSTOM_SYS_AUTH_PASSWD 1 | 65 | # define CUSTOM_SYS_AUTH_PASSWD 1 |
66 | # define CUSTOM_SYS_AUTH_ALLOWED_USER 1 | 66 | # define CUSTOM_SYS_AUTH_ALLOWED_USER 1 |
67 | int sys_auth_allowed_user(struct passwd *); | 67 | int sys_auth_allowed_user(struct passwd *); |
68 | # define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 | ||
69 | int sys_auth_record_login(const char *, const char *, const char *); | ||
68 | # define CUSTOM_FAILED_LOGIN 1 | 70 | # define CUSTOM_FAILED_LOGIN 1 |
69 | void record_failed_login(const char *, const char *); | 71 | void record_failed_login(const char *, const char *); |
70 | #endif | 72 | #endif |