summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-03-04 19:53:16 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-03-04 19:53:16 +1100
commit08e3d1e68642476ab1b9a5cf6f976bf9e69b3776 (patch)
treeab5d0b32e43176a64684496db94f7e8a0f8f8cda
parentb3a5a95b03dc16a57ca556bbb64ba6f1f6488cde (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 88de411f..3fe192ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20040304
+ - (dtucker) [auth-pam.c] Don't try to export PAM when compiled with
+ -DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
+
20040229
- (tim) [configure.ac] Put back bits mistakenly removed from Rev 1.188
@@ -1932,4 +1936,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
-$Id: ChangeLog,v 1.3257.2.1 2004/02/29 23:54:27 tim Exp $
+$Id: ChangeLog,v 1.3257.2.2 2004/03/04 08:53:16 dtucker Exp $
diff --git a/auth-pam.c b/auth-pam.c
index 397f7d3a..4f5df742 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -31,7 +31,7 @@
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
#include "includes.h"
-RCSID("$Id: auth-pam.c,v 1.95 2004/02/17 12:20:08 dtucker Exp $");
+RCSID("$Id: auth-pam.c,v 1.95.2.1 2004/03/04 08:53:17 dtucker Exp $");
#ifdef USE_PAM
#if defined(HAVE_SECURITY_PAM_APPL_H)
@@ -201,6 +201,7 @@ import_environments(Buffer *b)
debug3("PAM: %s entering", __func__);
+#ifndef USE_POSIX_THREADS
/* Import variables set by do_pam_account */
sshpam_account_status = buffer_get_int(b);
pam_password_change_required(buffer_get_int(b));
@@ -228,6 +229,7 @@ import_environments(Buffer *b)
}
#endif
}
+#endif
}
/*