Create kadmin/history lazily when we need it (i.e. when a password is changed on a principal with a policy) instead of whenever we open the database. Allows kadmin.local to be used as a read-only tool on non- kadmin-conformant database back ends such as the Samba bridge. https://github.com/krb5/krb5/commit/49abf1c55ae0d9a79239cd22ada98b2cfc54e224 Commit By: ghudson Revision: 23799 Changed Files: U trunk/src/lib/kadm5/srv/server_kdb.c U trunk/src/lib/kadm5/unit-test/api.current/randkey-principal.exp