diff --git a/lib/krb5/context.c b/lib/krb5/context.c index 741e5f3a1..6d5891c82 100644 --- a/lib/krb5/context.c +++ b/lib/krb5/context.c @@ -260,6 +260,12 @@ krb5_set_config_files(krb5_context context, char **filenames) } filenames++; } +#if 0 + /* with this enabled and if there are no config files, Kerberos is + considererd disabled */ + if(tmp == NULL) + return ENOENT; +#endif krb5_config_file_free(context, context->cf); context->cf = tmp; ret = init_context_from_config_file(context);