Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

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@mit.edu>
Commit: a2ac57b0ec230efed06fabc2d55db1fcbc6f7ea3
Branch: master
src/kadmin/dbutil/dump.c | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)