-DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
- (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread,
prevent hanging during PAM keyboard-interactive authentications. ok djm@
+ - (dtucker) [auth-passwd.c auth-sia.c auth-sia.h defines.h
+ openbsd-compat/xcrypt.c] Bug #802: Fix build error on Tru64 when
+ configured --with-osfsia. ok djm@
20040303
- (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent
if (*password == '\0' && options.permit_empty_passwd == 0)
return 0;
-#if defined(HAVE_OSF_SIA)
- /*
- * XXX: any reason this is before krb? could be moved to
- * sys_auth_passwd()? -dt
- */
- return auth_sia_password(authctxt, password) && ok;
-#endif
#ifdef KRB5
if (options.kerberos_authentication == 1) {
int ret = auth_krb5_password(authctxt, password);
extern char **saved_argv;
int
-auth_sia_password(Authctxt *authctxt, char *pass)
+sys_auth_passwd(Authctxt *authctxt, char *pass)
{
int ret;
SIAENTITY *ent = NULL;
#ifdef HAVE_OSF_SIA
-int auth_sia_password(Authctxt *, char *);
+int sys_auth_passwd(Authctxt *, char *);
void session_setup_sia(struct passwd *, char *);
#endif /* HAVE_OSF_SIA */
# define USE_LASTLOG
#endif
+#ifdef HAVE_OSF_SIA
+# ifdef USE_SHADOW
+# undef USE_SHADOW
+# endif
+# define CUSTOM_SYS_AUTH_PASSWD 1
+#endif
+
/** end of login recorder definitions */
#endif /* _DEFINES_H */
#include "includes.h"
-#if !defined(HAVE_OSF_SIA)
-
# ifdef HAVE_CRYPT_H
# include <crypt.h>
# endif
return pw_password;
}
-
-#endif /* !defined(HAVE_OSF_SIA) */