]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix KCM flag transmission for remove_cred 1176/head
authorGreg Hudson <ghudson@mit.edu>
Mon, 29 Mar 2021 18:32:56 +0000 (14:32 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 31 Mar 2021 06:15:29 +0000 (02:15 -0400)
commit11a82cf424f9c905bb73680c64524f087090d4ef
treeb6a5e05d377e0ff505a5ccf60f83197880e41e4b
parentdac8de0b26b9b67c1b03067c1ec90b81114ff370
Fix KCM flag transmission for remove_cred

MIT krb5 uses low bits for KRB5_TC flags, while Heimdal uses high bits
so that the same flag word can also hold KRB5_GC flags.  Add a mapping
function and send the Heimdal flag values when performing a
remove_cred operation.

ticket: 8995
src/include/kcm.h
src/lib/krb5/ccache/cc_kcm.c