This commit is contained in:
parent
34eac91b28
commit
787d0f4ee2
11
pam_krb5-2.2.3-1-setcred-assume-establish.dif
Normal file
11
pam_krb5-2.2.3-1-setcred-assume-establish.dif
Normal 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);
|
||||||
|
}
|
@ -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
|
Tue Jan 13 12:34:56 CET 2009 - olh@suse.de
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ Obsoletes: pam_krb5-64bit
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Version: 2.3.1
|
Version: 2.3.1
|
||||||
Release: 43
|
Release: 46
|
||||||
Summary: PAM Module for Kerberos Authentication
|
Summary: PAM Module for Kerberos Authentication
|
||||||
Url: http://sourceforge.net/projects/pam-krb5/
|
Url: http://sourceforge.net/projects/pam-krb5/
|
||||||
Source: pam_krb5-%{version}-%{PAM_RELEASE}.tar.bz2
|
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
|
Patch7: bug-425861_pam_krb5-2.3.1-ccacheperms.patch
|
||||||
Patch8: pam_krb5-2.3.1-fix-pwchange-with-use_shmem.dif
|
Patch8: pam_krb5-2.3.1-fix-pwchange-with-use_shmem.dif
|
||||||
Patch9: pam_krb5-2.3.1-switch-perms-on-refresh.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -68,6 +69,7 @@ Authors:
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
|
%patch10
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f}
|
%{suse_update_config -f}
|
||||||
@ -102,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(755,root,root) /usr/bin/afs5log
|
%attr(755,root,root) /usr/bin/afs5log
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jan 13 2009 olh@suse.de
|
||||||
- obsolete old -XXbit packages (bnc#437293)
|
- obsolete old -XXbit packages (bnc#437293)
|
||||||
* Fri Nov 21 2008 mc@suse.de
|
* Fri Nov 21 2008 mc@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user