In order for the kdb keytab to be used from within the KDC, the KDC
needs to set the master key list in the context.
ticket: 6424
Target_version: 1.7
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22093
dc483132-0cff-0310-8789-
dd5450dbe970
&master_keyblock, 0, &tmp_mkey_list) == 0) {
krb5_dbe_free_key_list(kdc_context, master_keylist);
master_keylist = tmp_mkey_list;
+ krb5_db_set_mkey_list(kdc_context, master_keylist);
if ((retval = krb5_dbe_find_mkey(kdc_context, master_keylist,
server, &mkey_ptr))) {
goto errout;
rdp->realm_mpname, realm);
goto whoops;
}
-
#if 0 /************** Begin IFDEF'ed OUT *******************************/
/*
* Commenting krb5_db_verify_master_key out because it requires the most
"while setting master key for realm %s", realm);
goto whoops;
}
+ krb5_db_set_mkey_list(rdp->realm_context, rdp->mkey_list);
/* Set up the keytab */
if ((kret = krb5_ktkdb_resolve(rdp->realm_context, NULL,