summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-04-01 20:04:35 +0200
committerKevin Steves <stevesk@pobox.com>2002-04-01 20:04:35 +0200
commitbd1901b7dc7ba80aae9aa3d6e6be3fb5e8aedb61 (patch)
tree488323f0030f922cfc71af8bbba15b335df8a17d
parent[sshconnect2.c] change uint32_t to u_int32_t (diff)
downloadopenssh-bd1901b7dc7ba80aae9aa3d6e6be3fb5e8aedb61.tar.xz
openssh-bd1901b7dc7ba80aae9aa3d6e6be3fb5e8aedb61.zip
- (stevesk) [monitor.c] PAM should work again; will *not* work with
UsePrivilegeSeparation=yes.
-rw-r--r--ChangeLog6
-rw-r--r--monitor.c6
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5bf26bd89..733b9b06d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20020401
+ - (stevesk) [monitor.c] PAM should work again; will *not* work with
+ UsePrivilegeSeparation=yes.
+
20020331
- (tim) [configure.ac] use /bin/test -L to work around broken builtin on
Solaris 8
@@ -8098,4 +8102,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.2004 2002/03/31 20:49:38 tim Exp $
+$Id: ChangeLog,v 1.2005 2002/04/01 18:04:35 stevesk Exp $
diff --git a/monitor.c b/monitor.c
index 008010795..7b4e53eb5 100644
--- a/monitor.c
+++ b/monitor.c
@@ -143,7 +143,9 @@ struct mon_table mon_dispatch_proto20[] = {
{MONITOR_REQ_SIGN, MON_ONCE, mm_answer_sign},
{MONITOR_REQ_PWNAM, MON_ONCE, mm_answer_pwnamallow},
{MONITOR_REQ_AUTHSERV, MON_ONCE, mm_answer_authserv},
+#if !defined(USE_PAM)
{MONITOR_REQ_AUTHPASSWORD, MON_AUTH, mm_answer_authpassword},
+#endif
#ifdef BSD_AUTH
{MONITOR_REQ_BSDAUTHQUERY, MON_ISAUTH, mm_answer_bsdauthquery},
{MONITOR_REQ_BSDAUTHRESPOND, MON_AUTH,mm_answer_bsdauthrespond},
@@ -170,7 +172,9 @@ struct mon_table mon_dispatch_proto15[] = {
{MONITOR_REQ_PWNAM, MON_ONCE, mm_answer_pwnamallow},
{MONITOR_REQ_SESSKEY, MON_ONCE, mm_answer_sesskey},
{MONITOR_REQ_SESSID, MON_ONCE, mm_answer_sessid},
+#if !defined(USE_PAM)
{MONITOR_REQ_AUTHPASSWORD, MON_AUTH, mm_answer_authpassword},
+#endif
{MONITOR_REQ_RSAKEYALLOWED, MON_ISAUTH, mm_answer_rsa_keyallowed},
{MONITOR_REQ_KEYALLOWED, MON_ISAUTH, mm_answer_keyallowed},
{MONITOR_REQ_RSACHALLENGE, MON_ONCE, mm_answer_rsa_challenge},
@@ -533,6 +537,7 @@ mm_answer_authserv(int socket, Buffer *m)
return (0);
}
+#if !defined(USE_PAM)
int
mm_answer_authpassword(int socket, Buffer *m)
{
@@ -561,6 +566,7 @@ mm_answer_authpassword(int socket, Buffer *m)
/* Causes monitor loop to terminate if authenticated */
return (authenticated);
}
+#endif
#ifdef BSD_AUTH
int