OBS User unknown 2009-02-03 23:17:30 +00:00 committed by Git OBS Bridge
parent 34eac91b28
commit 787d0f4ee2
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- src/auth.c
+++ src/auth.c 2009/01/29 11:44:07
@@ -419,6 +419,6 @@
if (flags & PAM_DELETE_CRED) {
return pam_sm_close_session(pamh, flags, argc, argv);
}
- warn("pam_setcred() called with no flags");
- return PAM_SERVICE_ERR;
+ warn("pam_setcred() called with no flags. Assume PAM_ESTABLISH_CRED");
+ return pam_sm_open_session(pamh, (flags | PAM_ESTABLISH_CRED), argc, argv);
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 2 17:30:42 CET 2009 - mc@suse.de
- pam_sm_setcred should assume PAM_ESTABLISH_CRED
if no flag are passed (bnc#470414)
-------------------------------------------------------------------
Tue Jan 13 12:34:56 CET 2009 - olh@suse.de

View File

@ -31,7 +31,7 @@ Obsoletes: pam_krb5-64bit
%endif
#
Version: 2.3.1
Release: 43
Release: 46
Summary: PAM Module for Kerberos Authentication
Url: http://sourceforge.net/projects/pam-krb5/
Source: pam_krb5-%{version}-%{PAM_RELEASE}.tar.bz2
@ -44,6 +44,7 @@ Patch6: pam_krb5-2.3.1-post.dif
Patch7: bug-425861_pam_krb5-2.3.1-ccacheperms.patch
Patch8: pam_krb5-2.3.1-fix-pwchange-with-use_shmem.dif
Patch9: pam_krb5-2.3.1-switch-perms-on-refresh.dif
Patch10: pam_krb5-2.2.3-1-setcred-assume-establish.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -68,6 +69,7 @@ Authors:
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10
%build
%{suse_update_config -f}
@ -102,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) /usr/bin/afs5log
%changelog
* Mon Feb 02 2009 mc@suse.de
- pam_sm_setcred should assume PAM_ESTABLISH_CRED
if no flag are passed (bnc#470414)
* Tue Jan 13 2009 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Fri Nov 21 2008 mc@suse.de