- (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@
This commit is contained in:
parent
b9b6021667
commit
91bf45c597
|
@ -3,6 +3,9 @@
|
||||||
-DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
|
-DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
|
||||||
- (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread,
|
- (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread,
|
||||||
prevent hanging during PAM keyboard-interactive authentications. ok djm@
|
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
|
20040303
|
||||||
- (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent
|
- (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent
|
||||||
|
@ -851,4 +854,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3275 2004/03/04 09:03:54 dtucker Exp $
|
$Id: ChangeLog,v 1.3276 2004/03/04 11:59:36 dtucker Exp $
|
||||||
|
|
|
@ -73,13 +73,6 @@ auth_password(Authctxt *authctxt, const char *password)
|
||||||
if (*password == '\0' && options.permit_empty_passwd == 0)
|
if (*password == '\0' && options.permit_empty_passwd == 0)
|
||||||
return 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
|
#ifdef KRB5
|
||||||
if (options.kerberos_authentication == 1) {
|
if (options.kerberos_authentication == 1) {
|
||||||
int ret = auth_krb5_password(authctxt, password);
|
int ret = auth_krb5_password(authctxt, password);
|
||||||
|
|
|
@ -47,7 +47,7 @@ extern int saved_argc;
|
||||||
extern char **saved_argv;
|
extern char **saved_argv;
|
||||||
|
|
||||||
int
|
int
|
||||||
auth_sia_password(Authctxt *authctxt, char *pass)
|
sys_auth_passwd(Authctxt *authctxt, char *pass)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
SIAENTITY *ent = NULL;
|
SIAENTITY *ent = NULL;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_OSF_SIA
|
#ifdef HAVE_OSF_SIA
|
||||||
|
|
||||||
int auth_sia_password(Authctxt *, char *);
|
int sys_auth_passwd(Authctxt *, char *);
|
||||||
void session_setup_sia(struct passwd *, char *);
|
void session_setup_sia(struct passwd *, char *);
|
||||||
|
|
||||||
#endif /* HAVE_OSF_SIA */
|
#endif /* HAVE_OSF_SIA */
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef _DEFINES_H
|
#ifndef _DEFINES_H
|
||||||
#define _DEFINES_H
|
#define _DEFINES_H
|
||||||
|
|
||||||
/* $Id: defines.h,v 1.110 2004/02/10 02:01:14 dtucker Exp $ */
|
/* $Id: defines.h,v 1.111 2004/03/04 11:59:37 dtucker Exp $ */
|
||||||
|
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
|
@ -616,6 +616,13 @@ struct winsize {
|
||||||
# define USE_LASTLOG
|
# define USE_LASTLOG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_OSF_SIA
|
||||||
|
# ifdef USE_SHADOW
|
||||||
|
# undef USE_SHADOW
|
||||||
|
# endif
|
||||||
|
# define CUSTOM_SYS_AUTH_PASSWD 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/** end of login recorder definitions */
|
/** end of login recorder definitions */
|
||||||
|
|
||||||
#endif /* _DEFINES_H */
|
#endif /* _DEFINES_H */
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
#if !defined(HAVE_OSF_SIA)
|
|
||||||
|
|
||||||
# ifdef HAVE_CRYPT_H
|
# ifdef HAVE_CRYPT_H
|
||||||
# include <crypt.h>
|
# include <crypt.h>
|
||||||
# endif
|
# endif
|
||||||
|
@ -108,5 +106,3 @@ shadow_pw(struct passwd *pw)
|
||||||
|
|
||||||
return pw_password;
|
return pw_password;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !defined(HAVE_OSF_SIA) */
|
|
||||||
|
|
Loading…
Reference in New Issue