]> git.ipfire.org Git - thirdparty/krb5.git/commit
Set TL_DATA mask flag for master key operations
authorSimo Sorce <simo@redhat.com>
Wed, 9 Dec 2015 23:09:18 +0000 (18:09 -0500)
committerTom Yu <tlyu@mit.edu>
Thu, 17 Dec 2015 20:03:03 +0000 (15:03 -0500)
commitc5913198c74b8df638dedd23ceb785dc0ef79b98
tree80af400c71dd98b8c09dd1e4f12bd96ed30962df
parent5e3902de9753bb86488ee04abc886a3d51261653
Set TL_DATA mask flag for master key operations

When kdb5_util adds or removes master keys, it modifies tl-data but
doesn't set the KADM5_TL_DATA mask flag, causing KDB modules that rely
on this signaling (such as the LDAP module) not to store the tl-data
changes.  Fix this issue by setting the mask bit in add_new_mkey() and
kdb5_purge_mkeys().

[ghudson@mit.edu: edit commit message]

(cherry picked from commit c877f13c8985d820583b0d7ac1bb4c5dc36e677e)

ticket: 8327
version_fixed: 1.14.1
src/kadmin/dbutil/kdb5_mkey.c