]> git.ipfire.org Git - thirdparty/krb5.git/commit
Continue on KRB5_FCC_NOFILE in KCM cache iteration 1136/head
authorGreg Hudson <ghudson@mit.edu>
Sat, 21 Nov 2020 06:41:41 +0000 (01:41 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 8 Jan 2021 05:03:46 +0000 (00:03 -0500)
commitf7b3cb8bbe90817f7bfbc545f1e427c16f52a79c
tree2a564b2d43f53f4c8e49f7ce0f5fd08442485006
parent7e0a2a7a3a76205ebd7192f06a99f23bad8dc5bd
Continue on KRB5_FCC_NOFILE in KCM cache iteration

Although Heimdal's KCM client only continues after KRB5_CC_END,
Heimdal's and macOS's KCM server returns KRB5_FCC_NOFILE if a cache
uuid no longer exists.  Check for both errors during iteration.  Also
set ret to 0 when continuing, in case the skipped uuid is the last one
in the list.

ticket: 8967 (new)
tags: pullup
target_version: 1.19
src/lib/krb5/ccache/cc_kcm.c