[15988] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #8658] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Wed May 2 01:27:46 2018

Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8658@krbdev.mit.edu>
Message-ID: <rt-8658-48510.9.73217330949659@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8658'":;
Date: Wed,  2 May 2018 01:26:05 -0400 (EDT)
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
Content-Type: multipart/mixed; boundary="===============0795428314576551261=="
Errors-To: krb5-bugs-bounces@mit.edu

--===============0795428314576551261==


Continue after KRB5_CC_END in KCM cache iteration

The KCM server returns KRB5_CC_END in response to a GET_CACHE_BY_UUID
request to indicate that the specified ccache uuid no longer exists.
In krb5_ptcursor_next(), ignore this error and continue the iteration,
as the Heimdal KCM client code does.

In addition to addressing the case where a third party deletes a cache
between the GET_CACHE_UUID_LIST request and when we reach that uuid in
the iteration, this change also fixes a bug in kdestroy -A where the
caller deletes the primary cache and we later request it by uuid when
iterating over the list.

[ghudson@mit.edu: rewrote commit message; edited comment]

(cherry picked from commit 49087f5e6309f298f8898c35af6f4ade418ced60)

https://github.com/krb5/krb5/commit/e5c2e8323f9b30a993ae7a1577f091fbbc7e7768
Author: Fabiano FidĂȘncio <fidencio@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: e5c2e8323f9b30a993ae7a1577f091fbbc7e7768
Branch: krb5-1.15
 src/lib/krb5/ccache/cc_kcm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


--===============0795428314576551261==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

--===============0795428314576551261==--

home help back first fref pref prev next nref lref last post