From 4a1d6a694452122f71d876e39ee335ea7ee022b6 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sun, 4 Jul 2010 18:34:04 +0000 Subject: [PATCH] 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 --- src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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"); -- 2.26.2