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

ghudson@MIT.EDU ghudson at MIT.EDU
Wed Sep 22 18:09:24 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24337
Commit By: ghudson
Log Message:
Initialize kdb5_ldap_util's context with kadm5_init_krb5_context, like
kdb5_util does, in order to get the KDC profile settings as well as
the regular krb5 profile settings.



Changed Files:
U   trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
Modified: trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
===================================================================
--- trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c	2010-09-22 21:50:48 UTC (rev 24336)
+++ trunk/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c	2010-09-22 22:09:24 UTC (rev 24337)
@@ -311,7 +311,7 @@
      */
     progname = (strrchr(argv[0], '/') ? strrchr(argv[0], '/')+1 : argv[0]);
 
-    retval = krb5_init_context(&util_context);
+    retval = kadm5_init_krb5_context(&util_context);
     set_com_err_hook(extended_com_err_fn);
     if (retval) {
         com_err (progname, retval, "while initializing Kerberos code");




More information about the cvs-krb5 mailing list