summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-03-31 21:39:25 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-03-31 21:39:25 +1000
commitf3bb4341777eb44df1ca7db0d574f849821a186c (patch)
tree5d7a6d62d1c9095d09f8213ed1667ef850ec9bc7 /auth.h
parent83d5a9866d590844ed78c92fe09bc862424a8c55 (diff)
downloadopenssh-git-f3bb4341777eb44df1ca7db0d574f849821a186c.tar.gz
- (dtucker) [auth.h sshd.c openbsd-compat/port-aix.c] Bug #1006: fix bug in
handling of password expiry messages returned by AIX's authentication routines, originally reported by robvdwal at sara.nl.
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth.h b/auth.h
index 8d1f9340..471404e4 100644
--- a/auth.h
+++ b/auth.h
@@ -30,6 +30,7 @@
#include "key.h"
#include "hostfile.h"
+#include "buffer.h"
#include <openssl/rsa.h>
#ifdef HAVE_LOGIN_CAP
@@ -68,6 +69,7 @@ struct Authctxt {
char *krb5_ticket_file;
char *krb5_ccname;
#endif
+ Buffer *loginmsg;
void *methoddata;
};
/*
@@ -185,6 +187,8 @@ void auth_debug_reset(void);
struct passwd *fakepw(void);
+int sys_auth_passwd(Authctxt *, const char *);
+
#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"
#define SKEY_PROMPT "\nS/Key Password: "