]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Initialize kdb5_ldap_util's context with kadm5_init_krb5_context, like
authorGreg Hudson <ghudson@mit.edu>
Wed, 22 Sep 2010 22:09:24 +0000 (22:09 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 22 Sep 2010 22:09:24 +0000 (22:09 +0000)
kdb5_util does, in order to get the KDC profile settings as well as
the regular krb5 profile settings.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24337 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c

index 9357cc4115b23957f0336a67140e7a55efabfe74..db5e69ba257dd95320cd3e32105542a11355dbd2 100644 (file)
@@ -311,7 +311,7 @@ main(int argc, char *argv[])
      */
     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");