diff options
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r-- | openbsd-compat/port-aix.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h index 975cdf051..930b3f248 100644 --- a/openbsd-compat/port-aix.h +++ b/openbsd-compat/port-aix.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: port-aix.h,v 1.16 2003/11/22 03:16:57 dtucker Exp $ */ | 1 | /* $Id: port-aix.h,v 1.17 2004/02/06 05:17:52 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * | 4 | * |
@@ -51,6 +51,14 @@ | |||
51 | # include <sys/timers.h> | 51 | # include <sys/timers.h> |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | /* | ||
55 | * According to the setauthdb man page, AIX password registries must be 15 | ||
56 | * chars or less plus terminating NUL. | ||
57 | */ | ||
58 | #ifdef HAVE_SETAUTHDB | ||
59 | # define REGISTRY_SIZE 16 | ||
60 | #endif | ||
61 | |||
54 | void aix_usrinfo(struct passwd *); | 62 | void aix_usrinfo(struct passwd *); |
55 | 63 | ||
56 | #ifdef WITH_AIXAUTHENTICATE | 64 | #ifdef WITH_AIXAUTHENTICATE |
@@ -60,5 +68,6 @@ void record_failed_login(const char *, const char *); | |||
60 | 68 | ||
61 | int aix_authenticate(const char *, const char *, const char *); | 69 | int aix_authenticate(const char *, const char *, const char *); |
62 | void aix_setauthdb(const char *); | 70 | void aix_setauthdb(const char *); |
71 | void aix_restoreauthdb(void); | ||
63 | void aix_remove_embedded_newlines(char *); | 72 | void aix_remove_embedded_newlines(char *); |
64 | #endif /* _AIX */ | 73 | #endif /* _AIX */ |