From: Greg Hudson Date: Sun, 4 Jul 2010 18:34:04 +0000 (+0000) Subject: Follow-on to r24168: in kdb5_ldap_util, indirect through X-Git-Tag: krb5-1.9-beta1~157 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a1d6a694452122f71d876e39ee335ea7ee022b6;p=krb5.git Follow-on to r24168: in kdb5_ldap_util, indirect through krb5_db_store_master_key instead of using the (now removed) default implementation directly. ticket: 6749 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24174 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c index cc918142c..0ee57d118 100644 --- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c +++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c @@ -852,11 +852,11 @@ kdb5_ldap_create(int argc, char *argv[]) else mkey_kvno = 1; /* Default */ - retval = krb5_def_store_mkey(util_context, - global_params.stash_file, - master_princ, - mkey_kvno, - &master_keyblock, NULL); + retval = krb5_db_store_master_key(util_context, + global_params.stash_file, + master_princ, + mkey_kvno, + &master_keyblock, NULL); if (retval) { com_err(progname, errno, "while storing key"); printf("Warning: couldn't stash master key.\n");