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)
downloadopenssh-git-e3dba82dd44c165716ce2a81157b6c2f269fc0af.tar.gz
- (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 930b3f24..ef03661e 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,4 +1,4 @@
-/* $Id: port-aix.h,v 1.17 2004/02/06 05:17:52 dtucker Exp $ */
+/* $Id: port-aix.h,v 1.18 2004/02/10 01:50:20 dtucker Exp $ */
/*
*
@@ -36,6 +36,9 @@
# include <usersec.h>
#endif
+/* For Authctxt */
+#include "auth.h"
+
/* Some versions define r_type in the above headers, which causes a conflict */
#ifdef r_type
# undef r_type
@@ -62,11 +65,12 @@
void aix_usrinfo(struct passwd *);
#ifdef WITH_AIXAUTHENTICATE
+# define CUSTOM_SYS_AUTH_PASSWD 1
+int sys_auth_passwd(Authctxt *, const char *);
# define CUSTOM_FAILED_LOGIN 1
void record_failed_login(const char *, const char *);
#endif
-int aix_authenticate(const char *, const char *, const char *);
void aix_setauthdb(const char *);
void aix_restoreauthdb(void);
void aix_remove_embedded_newlines(char *);