svn rev #24519: trunk/src/slave/
ghudson@MIT.EDU
ghudson at MIT.EDU
Mon Nov 15 21:54:26 EST 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24519
Commit By: ghudson
Log Message:
ticket: 6820
subject: Read KDC profile settings in kpropd
target_version: 1.9
tags: pullup
kpropd can modify the KDB with ulog_replay(), so it should read the
KDC profile settings in case the KDB configuration is in there.
Changed Files:
U trunk/src/slave/kpropd.c
Modified: trunk/src/slave/kpropd.c
===================================================================
--- trunk/src/slave/kpropd.c 2010-11-16 02:30:16 UTC (rev 24518)
+++ trunk/src/slave/kpropd.c 2010-11-16 02:54:26 UTC (rev 24519)
@@ -1034,7 +1034,9 @@
(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);
More information about the cvs-krb5
mailing list