Hello community,

here is the log from the commit of package pam_ssh for openSUSE:Factory checked 
in at 2013-06-19 14:55:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam_ssh (Old)
 and      /work/SRC/openSUSE:Factory/.pam_ssh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam_ssh"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam_ssh/pam_ssh.changes  2013-05-13 
15:10:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pam_ssh.new/pam_ssh.changes     2013-06-19 
14:55:50.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Jun  6 09:17:42 UTC 2013 - vci...@suse.com
+
+- restore credentials before exitting from pam_sm_open_session
+  * fixes bnc#823484
+  * added James Carter's pam_ssh-1.97-no_tty_stay_as_user.patch
+
+-------------------------------------------------------------------

New:
----
  pam_ssh-1.97-no_tty_stay_as_user.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam_ssh.spec ++++++
--- /var/tmp/diff_new_pack.xJYfXc/_old  2013-06-19 14:55:50.000000000 +0200
+++ /var/tmp/diff_new_pack.xJYfXc/_new  2013-06-19 14:55:50.000000000 +0200
@@ -29,6 +29,7 @@
 Url:            http://sourceforge.net/projects/pam-ssh/
 Source:         %{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
+Patch:          pam_ssh-1.97-no_tty_stay_as_user.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q
+%patch
 
 %build
 #autoreconf --verbose --force --install

++++++ pam_ssh-1.97-no_tty_stay_as_user.patch ++++++
Index: pam_ssh.c
===================================================================
--- pam_ssh.c.orig      2013-04-29 12:24:46.000000000 +0200
+++ pam_ssh.c   2013-06-06 11:26:36.227623175 +0200
@@ -632,6 +632,7 @@ pam_sm_open_session(pam_handle_t *pamh,
                 pam_ssh_log(LOG_ERR, "stat() failed on %s", per_agent);
                 pam_set_data(pamh, "ssh_agent_env_agent", NULL, NULL);
                 fclose(env_read);
+                openpam_restore_cred(pamh);
                 return retval;
             }
             file_ctime = stat_buf.st_mtime;
@@ -875,6 +876,7 @@ pam_sm_open_session(pam_handle_t *pamh,
          * with the per-session file */
         if (!tty_raw) {
                 pam_ssh_log(LOG_DEBUG, "session has no tty");
+                openpam_restore_cred(pamh);
                 return PAM_SUCCESS;
         }
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to