diff options
author | Greg Hudson <ghudson@mit.edu> | 2010-11-16 02:54:26 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2010-11-16 02:54:26 +0000 |
commit | 52bae3736c1835b8d7ba6b2e8bda370fe58f044b (patch) | |
tree | 3e7fcceee68bb99a837a4992639f6598be6fb8c8 /src/slave/kpropd.c | |
parent | c85548fbd98abfece8148cf4c15ddb6a6c6f34a9 (diff) | |
download | krb5-52bae3736c1835b8d7ba6b2e8bda370fe58f044b.tar.gz krb5-52bae3736c1835b8d7ba6b2e8bda370fe58f044b.tar.xz krb5-52bae3736c1835b8d7ba6b2e8bda370fe58f044b.zip |
Read KDC profile settings in kpropd
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
Diffstat (limited to 'src/slave/kpropd.c')
-rw-r--r-- | src/slave/kpropd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c index 929aaa4db..a1d458348 100644 --- a/src/slave/kpropd.c +++ b/src/slave/kpropd.c @@ -1034,7 +1034,9 @@ void PRS(argv) (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); |