From d76341616dfebd4addc9c9594767ab1832ccb100 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 22 Nov 2003 14:16:56 +1100 Subject: - (dtucker) [auth-passwd.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Move AIX specific password authentication code to port-aix.c, call authenticate() until reenter flag is clear. --- openbsd-compat/port-aix.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'openbsd-compat/port-aix.h') diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h index b2a48cba9..975cdf051 100644 --- a/openbsd-compat/port-aix.h +++ b/openbsd-compat/port-aix.h @@ -1,4 +1,4 @@ -/* $Id: port-aix.h,v 1.15 2003/09/19 10:43:38 dtucker Exp $ */ +/* $Id: port-aix.h,v 1.16 2003/11/22 03:16:57 dtucker Exp $ */ /* * @@ -51,12 +51,14 @@ # include #endif +void aix_usrinfo(struct passwd *); + #ifdef WITH_AIXAUTHENTICATE # define CUSTOM_FAILED_LOGIN 1 void record_failed_login(const char *, const char *); -void aix_setauthdb(const char *); #endif -void aix_usrinfo(struct passwd *); +int aix_authenticate(const char *, const char *, const char *); +void aix_setauthdb(const char *); void aix_remove_embedded_newlines(char *); #endif /* _AIX */ -- cgit v1.2.3