[krbdev.mit.edu #7869] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Feb 26 16:42:22 EST 2014


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.

https://github.com/krb5/krb5/commit/a2ac57b0ec230efed06fabc2d55db1fcbc6f7ea3
Author: Greg Hudson <ghudson at mit.edu>
Commit: a2ac57b0ec230efed06fabc2d55db1fcbc6f7ea3
Branch: master
 src/kadmin/dbutil/dump.c |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)



More information about the krb5-bugs mailing list