summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-07-20 19:14:28 +0000
committerGreg Hudson <ghudson@mit.edu>2011-07-20 19:14:28 +0000
commit6ea59e4695628ef53bf18ce2e837c2edc4879d0f (patch)
tree023906e6a8112e9cd5ef231d5613d2f891f04a6d /src/lib
parenteeb43dd0f42f3f9cd93cf19dda0a303dbbca0909 (diff)
downloadkrb5-6ea59e4695628ef53bf18ce2e837c2edc4879d0f.tar.gz
krb5-6ea59e4695628ef53bf18ce2e837c2edc4879d0f.tar.xz
krb5-6ea59e4695628ef53bf18ce2e837c2edc4879d0f.zip
Add support for loadable profile modules
ticket: 6929 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25025 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/os/init_os_ctx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c
index 9387cf872..98b8ae230 100644
--- a/src/lib/krb5/os/init_os_ctx.c
+++ b/src/lib/krb5/os/init_os_ctx.c
@@ -325,8 +325,8 @@ os_init_paths(krb5_context ctx, krb5_boolean kdc)
retval = add_kdc_config_file(&files);
if (!retval) {
- retval = profile_init((const_profile_filespec_t *) files,
- &ctx->profile);
+ retval = profile_init_flags((const_profile_filespec_t *) files,
+ PROFILE_INIT_ALLOW_MODULE, &ctx->profile);
#ifdef KRB5_DNS_LOOKUP
/* if none of the filenames can be opened use an empty profile */
@@ -405,7 +405,8 @@ krb5_set_config_files(krb5_context ctx, const char **filenames)
krb5_error_code retval = 0;
profile_t profile;
- retval = profile_init(filenames, &profile);
+ retval = profile_init_flags(filenames, PROFILE_INIT_ALLOW_MODULE,
+ &profile);
if (retval)
return retval;