Make krb5_kuserok() pluggable and add features (including MIT config compat)

This commit is contained in:
Nicolas Williams
2011-12-03 21:14:14 -06:00
parent cfe7f6312a
commit 6aec02f979
10 changed files with 519 additions and 144 deletions

View File

@@ -125,7 +125,7 @@ init_ccapi(krb5_context context)
#ifdef KRB5_USE_PATH_TOKENS
{
char * explib = NULL;
if (_krb5_expand_path_tokens(context, lib, &explib) == 0) {
if (_krb5_expand_path_tokens(context, lib, NULL, &explib) == 0) {
cc_handle = dlopen(explib, RTLD_LAZY|RTLD_LOCAL);
free(explib);
}