summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-11-22 14:16:56 +1100
committerDarren Tucker <dtucker@zip.com.au>2003-11-22 14:16:56 +1100
commitd76341616dfebd4addc9c9594767ab1832ccb100 (patch)
treec47fc617084c1c068e065a11b633db595e262fd1 /openbsd-compat/port-aix.h
parent0eae4422350c4903a23d20b8a5153f939d721428 (diff)
- (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.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h8
1 files changed, 5 insertions, 3 deletions
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 @@
1/* $Id: port-aix.h,v 1.15 2003/09/19 10:43:38 dtucker Exp $ */ 1/* $Id: port-aix.h,v 1.16 2003/11/22 03:16:57 dtucker Exp $ */
2 2
3/* 3/*
4 * 4 *
@@ -51,12 +51,14 @@
51# include <sys/timers.h> 51# include <sys/timers.h>
52#endif 52#endif
53 53
54void aix_usrinfo(struct passwd *);
55
54#ifdef WITH_AIXAUTHENTICATE 56#ifdef WITH_AIXAUTHENTICATE
55# define CUSTOM_FAILED_LOGIN 1 57# define CUSTOM_FAILED_LOGIN 1
56void record_failed_login(const char *, const char *); 58void record_failed_login(const char *, const char *);
57void aix_setauthdb(const char *);
58#endif 59#endif
59 60
60void aix_usrinfo(struct passwd *); 61int aix_authenticate(const char *, const char *, const char *);
62void aix_setauthdb(const char *);
61void aix_remove_embedded_newlines(char *); 63void aix_remove_embedded_newlines(char *);
62#endif /* _AIX */ 64#endif /* _AIX */