summaryrefslogtreecommitdiff
path: root/auth-passwd.c
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 /auth-passwd.c
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 'auth-passwd.c')
-rw-r--r--auth-passwd.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index 5cc88155..a58dc042 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -43,14 +43,11 @@ RCSID("$OpenBSD: auth-passwd.c,v 1.31 2004/01/30 09:48:57 markus Exp $");
#include "servconf.h"
#include "auth.h"
#include "auth-options.h"
-#ifdef WITH_AIXAUTHENTICATE
-# include "canohost.h"
-#endif
extern ServerOptions options;
int sys_auth_passwd(Authctxt *, const char *);
-static void
+void
disable_forwarding(void)
{
no_port_forwarding_flag = 1;
@@ -121,14 +118,7 @@ sys_auth_passwd(Authctxt *authctxt, const char *password)
return (auth_close(as));
}
}
-#elif defined(WITH_AIXAUTHENTICATE)
-int
-sys_auth_passwd(Authctxt *authctxt, const char *password)
-{
- return (aix_authenticate(authctxt->pw->pw_name, password,
- get_canonical_hostname(options.use_dns)));
-}
-#else
+#elif !defined(CUSTOM_SYS_AUTH_PASSWD)
int
sys_auth_passwd(Authctxt *authctxt, const char *password)
{