[1749] in Kerberos_V5_Development
kadmin doesn't work if you don't setenv KRB5_CONFIG
daemon@ATHENA.MIT.EDU (Mark Eichin)
Mon Sep 9 23:06:47 1996
To: tytso@MIT.EDU, jcb@cygnus.com
Cc: krbcore@MIT.EDU
From: Mark Eichin <eichin@cygnus.com>
Date: 09 Sep 1996 23:06:32 -0400
lib/kadm5/clnt/client_init.c:224:
if (code = kadm5_get_config_params(handle->context,
DEFAULT_PROFILE_PATH,
"KRB5_CONFIG",
params_in,
&handle->params)) {
krb5_free_context(handle->context);
free(handle);
And, of course,
./include/krb5/stock/osconf.h:43:#define DEFAULT_PROFILE_PATH "/etc/krb5.conf:@PREFIX/lib/krb5.conf"
kadm5_get_config_params doesn't take a path, it takes a filename...
It passes it to krb5_aprof_init, which uses profile_init, not
profile_init_path.
Sam says that he and Barry agreed that the fix was supposed to be for
kadm5_get_config_params to get extended to handle the path. How about
changing krb5_aprof_init to call profile_init_path on the fname
argument instead?