From bc8407661a88d924bb535d7c08136ebad5be344b Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 10 Mar 2009 01:28:12 +0000 Subject: Rename kdb_setup_lib_handle to krb5_db_setup_lib_handle and export it. Make kdb5_ldap_util work again by calling this function to set up dal_handle instead of using one with an uninitialized lib_handle. It is likely that kdb5_ldap_util will only function given a krb5.conf which specifies a realm with an LDAP database module as the default realm. Not sure if that was the case before. ticket: 6403 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22071 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/kdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/kdb.h b/src/include/kdb.h index 240ac0fd5..73b09c9e0 100644 --- a/src/include/kdb.h +++ b/src/include/kdb.h @@ -266,6 +266,7 @@ extern char *krb5_mkey_pwd_prompt2; #define KRB5_DB_LOCKMODE_PERMANENT 0x0008 /* libkdb.spec */ +krb5_error_code krb5_db_setup_lib_handle(krb5_context kcontext); krb5_error_code krb5_db_open( krb5_context kcontext, char **db_args, int mode ); krb5_error_code krb5_db_init ( krb5_context kcontext ); krb5_error_code krb5_db_create ( krb5_context kcontext, char **db_args ); -- cgit