summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-03-04 19:54:10 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-03-04 19:54:10 +1100
commit4b385d4bc0ac6e27b5ba5ce941d1603417963603 (patch)
treefa742659e16438c2523f629e1cdc5714b3f65d36
parent6e26bf15ee35f39d58b2195f81061ccef4a9d287 (diff)
- (dtucker) [auth-pam.c] Don't try to export PAM when compiled with
-DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
-rw-r--r--ChangeLog6
-rw-r--r--auth-pam.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fe08ea28b..e69642a6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120040304
2 - (dtucker) [auth-pam.c] Don't try to export PAM when compiled with
3 -DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
4
120040303 520040303
2 - (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent 6 - (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent
3 ok dtucker 7 ok dtucker
@@ -845,4 +849,4 @@
845 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 849 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
846 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 850 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
847 851
848$Id: ChangeLog,v 1.3273 2004/03/04 08:47:29 dtucker Exp $ 852$Id: ChangeLog,v 1.3274 2004/03/04 08:54:10 dtucker Exp $
diff --git a/auth-pam.c b/auth-pam.c
index 397f7d3a8..53221a02e 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -31,7 +31,7 @@
31 31
32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ 32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
33#include "includes.h" 33#include "includes.h"
34RCSID("$Id: auth-pam.c,v 1.95 2004/02/17 12:20:08 dtucker Exp $"); 34RCSID("$Id: auth-pam.c,v 1.96 2004/03/04 08:54:10 dtucker Exp $");
35 35
36#ifdef USE_PAM 36#ifdef USE_PAM
37#if defined(HAVE_SECURITY_PAM_APPL_H) 37#if defined(HAVE_SECURITY_PAM_APPL_H)
@@ -201,6 +201,7 @@ import_environments(Buffer *b)
201 201
202 debug3("PAM: %s entering", __func__); 202 debug3("PAM: %s entering", __func__);
203 203
204#ifndef USE_POSIX_THREADS
204 /* Import variables set by do_pam_account */ 205 /* Import variables set by do_pam_account */
205 sshpam_account_status = buffer_get_int(b); 206 sshpam_account_status = buffer_get_int(b);
206 pam_password_change_required(buffer_get_int(b)); 207 pam_password_change_required(buffer_get_int(b));
@@ -228,6 +229,7 @@ import_environments(Buffer *b)
228 } 229 }
229#endif 230#endif
230 } 231 }
232#endif
231} 233}
232 234
233/* 235/*