kpropd can modify the KDB with ulog_replay(), so it should read the
KDC profile settings in case the KDB configuration is in there.
ticket: 6820
target_version: 1.9
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24519
dc483132-0cff-0310-8789-
dd5450dbe970
(void) memset(¶ms, 0, sizeof (params));
- retval = kadm5_init_krb5_context(&kpropd_context);
+ /* Since we may modify the KDB with ulog_replay(), we must read the KDC
+ * profile. */
+ retval = krb5int_init_context_kdc(&kpropd_context);
if (retval) {
com_err(argv[0], retval, "while initializing krb5");
exit(1);