Performance issue in LDAP policy fetch
authorGreg Hudson <ghudson@mit.edu>
Thu, 7 Oct 2010 17:49:44 +0000 (17:49 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 7 Oct 2010 17:49:44 +0000 (17:49 +0000)
commit5a28daefe46c1592936115a7b6c9c9b97957b148
treeba6d9178e31a76ee7cd546e71267f6891cfdd4bc
parent0d5df56ea6d4a05c31b7e513ee9ec1542a4b5dce
Performance issue in LDAP policy fetch

Instead of performing a tree search to fill in the refcnt field of a
policy object whenever a policy is fetched, set the refcnt to 0 and
perform a check when policies are deleted.

ticket: 6799

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24440 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/kadm5/srv/svr_policy.c
src/lib/krb5/error_tables/kdb5_err.et
src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c