summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-10 12:50:19 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-02-10 12:50:19 +1100
commite3dba82dd44c165716ce2a81157b6c2f269fc0af (patch)
tree3fc23f29c9e5e13892fb2c103bf75a60ff77b75a /openbsd-compat/port-aix.h
parent693f8a8aae5b79360f13f478c09235061aa59647 (diff)
- (dtucker) [auth-passwd.c auth.h openbsd-compat/port-aix.c
openbsd-compat/port-aix.h] Bug #14: Use do_pwchange to support AIX's native password expiry.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 930b3f248..ef03661ed 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,4 +1,4 @@
1/* $Id: port-aix.h,v 1.17 2004/02/06 05:17:52 dtucker Exp $ */ 1/* $Id: port-aix.h,v 1.18 2004/02/10 01:50:20 dtucker Exp $ */
2 2
3/* 3/*
4 * 4 *
@@ -36,6 +36,9 @@
36# include <usersec.h> 36# include <usersec.h>
37#endif 37#endif
38 38
39/* For Authctxt */
40#include "auth.h"
41
39/* Some versions define r_type in the above headers, which causes a conflict */ 42/* Some versions define r_type in the above headers, which causes a conflict */
40#ifdef r_type 43#ifdef r_type
41# undef r_type 44# undef r_type
@@ -62,11 +65,12 @@
62void aix_usrinfo(struct passwd *); 65void aix_usrinfo(struct passwd *);
63 66
64#ifdef WITH_AIXAUTHENTICATE 67#ifdef WITH_AIXAUTHENTICATE
68# define CUSTOM_SYS_AUTH_PASSWD 1
69int sys_auth_passwd(Authctxt *, const char *);
65# define CUSTOM_FAILED_LOGIN 1 70# define CUSTOM_FAILED_LOGIN 1
66void record_failed_login(const char *, const char *); 71void record_failed_login(const char *, const char *);
67#endif 72#endif
68 73
69int aix_authenticate(const char *, const char *, const char *);
70void aix_setauthdb(const char *); 74void aix_setauthdb(const char *);
71void aix_restoreauthdb(void); 75void aix_restoreauthdb(void);
72void aix_remove_embedded_newlines(char *); 76void aix_remove_embedded_newlines(char *);