Hello community,
here is the log from the commit of package pam_ssh
checked in at Mon Aug 21 11:38:02 CEST 2006.
--------
--- pam_ssh/pam_ssh.changes 2006-06-26 10:11:12.000000000 +0200
+++ pam_ssh/pam_ssh.changes 2006-08-21 08:33:50.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Aug 3 12:33:02 CEST 2006 - stark@suse.de
+
+- update to version 1.94 (r23)
+ * improved logging
+ * more recover fixes
+ * root credentials weren't restored in some cases which caused
+ following pam session modules to fail
+
+-------------------------------------------------------------------
Old:
----
pam_ssh-1.93.tar.bz2
New:
----
pam_ssh-1.94.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pam_ssh.spec ++++++
--- /var/tmp/diff_new_pack.JDBNYD/_old 2006-08-21 11:37:54.000000000 +0200
+++ /var/tmp/diff_new_pack.JDBNYD/_new 2006-08-21 11:37:54.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pam_ssh (Version 1.93)
+# spec file for package pam_ssh (Version 1.94)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -15,7 +15,7 @@
License: BSD
Group: Productivity/Networking/SSH
Autoreqprov: on
-Version: 1.93
+Version: 1.94
Release: 1
Summary: PAM Module for SSH Authentication
URL: http://developer.novell.com/wiki/index.php/Pam_ssh
@@ -65,6 +65,12 @@
%attr(444,root,root) %_mandir/man*/*.*
%changelog -n pam_ssh
+* Thu Aug 03 2006 - stark@suse.de
+- update to version 1.94 (r23)
+ * improved logging
+ * more recover fixes
+ * root credentials weren't restored in some cases which caused
+ following pam session modules to fail
* Sat Jun 24 2006 - stark@suse.de
- update to version 1.93 (r18)
* debug option works for auth and session module (#177885)
++++++ pam_ssh-1.93.tar.bz2 -> pam_ssh-1.94.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam_ssh-1.93/ChangeLog new/pam_ssh-1.94/ChangeLog
--- old/pam_ssh-1.93/ChangeLog 2006-06-24 10:37:09.000000000 +0200
+++ new/pam_ssh-1.94/ChangeLog 2006-08-03 12:28:41.000000000 +0200
@@ -1,3 +1,13 @@
+Version 1.94 released
+=====================
+
+2006-08-03 Wolfgang Rosenauer
+
+ * pam_ssh.c: fixed some debug output, create the agent file
+ writable for the user to be able to recover from a system crash
+ and fixed a missing credential restore which caused pam to fail
+ for following modules in error case
+
Version 1.93 released
=====================
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam_ssh-1.93/NEWS new/pam_ssh-1.94/NEWS
--- old/pam_ssh-1.93/NEWS 2006-06-24 10:39:00.000000000 +0200
+++ new/pam_ssh-1.94/NEWS 2006-08-03 12:31:53.000000000 +0200
@@ -1,3 +1,9 @@
+Version 1.94
+============
+
+Improved logging and bugfix release with improved recovery after
+system crashes.
+
Version 1.93
============
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam_ssh-1.93/configure new/pam_ssh-1.94/configure
--- old/pam_ssh-1.93/configure 2006-06-22 21:46:41.000000000 +0200
+++ new/pam_ssh-1.94/configure 2006-08-03 12:30:03.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.58 for pam_ssh 1.93.
+# Generated by GNU Autoconf 2.58 for pam_ssh 1.94.
#
# Report bugs to .
#
@@ -428,8 +428,8 @@
# Identity of this package.
PACKAGE_NAME='pam_ssh'
PACKAGE_TARNAME='pam_ssh'
-PACKAGE_VERSION='1.93'
-PACKAGE_STRING='pam_ssh 1.93'
+PACKAGE_VERSION='1.94'
+PACKAGE_STRING='pam_ssh 1.94'
PACKAGE_BUGREPORT='ajk@waterspout.com'
ac_unique_file="pam_ssh.c"
@@ -939,7 +939,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures pam_ssh 1.93 to adapt to many kinds of systems.
+\`configure' configures pam_ssh 1.94 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1006,7 +1006,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of pam_ssh 1.93:";;
+ short | recursive ) echo "Configuration of pam_ssh 1.94:";;
esac
cat <<\_ACEOF
@@ -1147,7 +1147,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by pam_ssh $as_me 1.93, which was
+It was created by pam_ssh $as_me 1.94, which was
generated by GNU Autoconf 2.58. Invocation command line was
$ $0 $@
@@ -1865,7 +1865,7 @@
# Define the identity of the package.
PACKAGE=pam_ssh
- VERSION=1.93
+ VERSION=1.94
cat >>confdefs.h <<_ACEOF
@@ -11291,7 +11291,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by pam_ssh $as_me 1.93, which was
+This file was extended by pam_ssh $as_me 1.94, which was
generated by GNU Autoconf 2.58. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -11354,7 +11354,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-pam_ssh config.status 1.93
+pam_ssh config.status 1.94
configured by $0, generated by GNU Autoconf 2.58,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam_ssh-1.93/configure.ac new/pam_ssh-1.94/configure.ac
--- old/pam_ssh-1.93/configure.ac 2006-06-22 21:44:50.000000000 +0200
+++ new/pam_ssh-1.94/configure.ac 2006-08-03 12:29:04.000000000 +0200
@@ -26,12 +26,12 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([pam_ssh],[1.93],[ajk@waterspout.com])
+AC_INIT([pam_ssh],[1.94],[ajk@waterspout.com])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([pam_ssh.c])
AC_CANONICAL_TARGET([])
AM_DISABLE_STATIC
-AM_INIT_AUTOMAKE(pam_ssh, 1.93)
+AM_INIT_AUTOMAKE(pam_ssh, 1.94)
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam_ssh-1.93/pam_ssh.c new/pam_ssh-1.94/pam_ssh.c
--- old/pam_ssh-1.93/pam_ssh.c 2006-06-26 09:40:20.000000000 +0200
+++ new/pam_ssh-1.94/pam_ssh.c 2006-08-04 08:25:06.000000000 +0200
@@ -345,7 +345,7 @@
pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, int argc,
const char **argv)
{
- int allow_blank_passphrase; /* allow blank passphrases? */
+ int allow_blank_passphrase = 0; /* allow blank passphrases? */
int authenticated; /* user authenticated? */
char *dotdir; /* .ssh dir name */
char *file; /* current key file */
@@ -364,7 +364,6 @@
int retval; /* from calls */
const char *user; /* username */
- allow_blank_passphrase = 0;
keyfiles = kfspec = NULL;
#if HAVE_OPENPAM
if ((kfspec = openpam_get_option(pamh, PAM_OPT_KEYFILES_NAME))) {
@@ -421,9 +420,14 @@
pam_ssh_log(LOG_ERR, "can't get username (ret=%d)", retval);
return retval;
}
- if (!(user && (pwent = getpwnam(user)) && pwent->pw_dir &&
- *pwent->pw_dir)) {
- pam_ssh_log(LOG_ERR, "can't get homedirectory");
+
+ if (!(user && (pwent = getpwnam(user)))) {
+ pam_ssh_log(LOG_ERR, "user not known");
+ return PAM_AUTH_ERR;
+ }
+
+ if (!(pwent->pw_dir && *pwent->pw_dir)) {
+ pam_ssh_log(LOG_ERR, "cannot get homedirectory");
return PAM_AUTH_ERR;
}
@@ -447,6 +451,7 @@
openpam_restore_cred(pamh);
return retval;
}
+
if (!pass || (!allow_blank_passphrase && *pass == '\0')) {
pam_ssh_log(LOG_ERR, "blank passphrases disabled");
openpam_restore_cred(pamh);
@@ -616,9 +621,10 @@
}
if (start_agent) {
- if ((env_write = open(per_agent, O_CREAT | O_EXCL | O_WRONLY, S_IRUSR)) < 0) {
+ if ((env_write = open(per_agent, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR)) < 0) {
pam_ssh_log(LOG_ERR, "can't write to %s", per_agent);
free(per_agent);
+ openpam_restore_cred(pamh);
return PAM_SERVICE_ERR;
}
if (pipe(child_pipe) < 0) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam_ssh-1.93/pam_ssh.spec new/pam_ssh-1.94/pam_ssh.spec
--- old/pam_ssh-1.93/pam_ssh.spec 2006-06-22 21:47:00.000000000 +0200
+++ new/pam_ssh-1.94/pam_ssh.spec 2006-08-03 12:30:21.000000000 +0200
@@ -4,7 +4,7 @@
BuildRequires: pam-devel
License: BSD
Group: Productivity/Networking/SSH
-Version: 1.93
+Version: 1.94
Release: 1
Summary: A Pluggable Authentication Module (PAM) for use with SSH.
URL: http://developer.novell.com/wiki/index.php/Pam_ssh
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org