]> andersk Git - openssh.git/commitdiff
- (dtucker) [auth-passwd.c auth-sia.c auth-sia.h defines.h
authordtucker <dtucker>
Thu, 4 Mar 2004 11:59:36 +0000 (11:59 +0000)
committerdtucker <dtucker>
Thu, 4 Mar 2004 11:59:36 +0000 (11:59 +0000)
   openbsd-compat/xcrypt.c] Bug #802: Fix build error on Tru64 when
   configured --with-osfsia.  ok djm@

ChangeLog
auth-passwd.c
auth-sia.c
auth-sia.h
defines.h
openbsd-compat/xcrypt.c

index 53e0792dc34a960d5d3cb4374f9b174569a9a6c2..33abfb7d14523ac24b94c9d8730011aa9501b2c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
    -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
index b9679abd0c5f53baffbd15f1f88381d286a2224d..beaf0fa6cbf3ee71564fea04f6d81807831823fd 100644 (file)
@@ -73,13 +73,6 @@ auth_password(Authctxt *authctxt, const char *password)
        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);
index cd2dcb8406552a445d488565d73f7f7a73751fd5..63f55d07f2d18943ed795d261209a1547617c552 100644 (file)
@@ -47,7 +47,7 @@ extern int saved_argc;
 extern char **saved_argv;
 
 int
-auth_sia_password(Authctxt *authctxt, char *pass)
+sys_auth_passwd(Authctxt *authctxt, char *pass)
 {
        int ret;
        SIAENTITY *ent = NULL;
index 38164ff81975a9071f1e28f10c88d1da7b6d213f..ca55e913ed587e64f94bc8893947cfc81bb039b1 100644 (file)
@@ -26,7 +26,7 @@
 
 #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 */
index 3d6b688f8253b6246f4bd48d2e29e13c2333270c..dc9155c649fbb6288e20a61ef7d3459aca9d6c14 100644 (file)
--- a/defines.h
+++ b/defines.h
@@ -616,6 +616,13 @@ struct winsize {
 #  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 */
index a0fe6c62009d0a433b70998a4daee349831c0a1c..c3cea3c8689381e4face6b2eac19b015728b43b1 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-#if !defined(HAVE_OSF_SIA)
-
 # ifdef HAVE_CRYPT_H
 #  include <crypt.h>
 # endif
@@ -108,5 +106,3 @@ shadow_pw(struct passwd *pw)
 
        return pw_password;
 }
-
-#endif /* !defined(HAVE_OSF_SIA) */
This page took 0.075035 seconds and 5 git commands to generate.