question about os_init_paths() and kdc

Will Fiveash William.Fiveash at sun.com
Wed Mar 7 18:14:16 EST 2007


Looking at the os_init_paths() code in 1.6 I see:

/* Set the profile paths in the context.  If secure is set to TRUE
   then do not include user paths (from environment variables, etc).
   If kdc is TRUE, include kdc.conf from whereever we expect to find
   it.  */
static krb5_error_code
os_init_paths(krb5_context ctx, krb5_boolean kdc)
{

and further down:

    if (retval == 0)
        retval = add_kdc_config_file(&files);

Shouldn't that be?

    if (retval == 0 && kdc == TRUE)
        retval = add_kdc_config_file(&files);

-- 
Will Fiveash
Sun Microsystems Inc.
Austin, TX, USA (TZ=CST6CDT)



More information about the krbdev mailing list