]> git.ipfire.org Git - thirdparty/krb5.git/commit
In kdb5_util dump, only lock DB for iprop dumps
authorGreg Hudson <ghudson@mit.edu>
Sun, 23 Feb 2014 16:28:44 +0000 (11:28 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 26 Feb 2014 21:33:32 +0000 (16:33 -0500)
commita2ac57b0ec230efed06fabc2d55db1fcbc6f7ea3
tree1595b4129694428309bfce47a1831452db1075a5
parent1041af9f85e4be342339475cf5c8878fef1de10d
In kdb5_util dump, only lock DB for iprop dumps

Revert #7384, as there are no longer policy refcounts.  For iprop
dumps we want to make sure that the reported serial number matches the
DB state (although we could perhaps relax that requirement with enough
analysis), but for non-iprop dumps we don't need any transactional
guarantees.

Also use the correct constant name for the locking mode (the numeric
value is the same, fortunately), and only unlock the database if we
successfully locked it.

ticket: 7869 (new)
src/kadmin/dbutil/dump.c