svn rev #24174: trunk/src/plugins/kdb/ldap/ldap_util/

ghudson@MIT.EDU ghudson at MIT.EDU
Sun Jul 4 14:34:04 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24174
Commit By: ghudson
Log Message:
ticket: 6749
status: open

Follow-on to r24168: in kdb5_ldap_util, indirect through
krb5_db_store_master_key instead of using the (now removed) default
implementation directly.



Changed Files:
U   trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
Modified: trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
===================================================================
--- trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c	2010-07-03 19:56:17 UTC (rev 24173)
+++ trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c	2010-07-04 18:34:04 UTC (rev 24174)
@@ -852,11 +852,11 @@
         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");




More information about the cvs-krb5 mailing list