question about os_init_paths() and kdc

Will Fiveash William.Fiveash at sun.com
Tue Mar 20 15:59:20 EDT 2007


Thoughts?

On Wed, Mar 07, 2007 at 05:14:16PM -0600, Will Fiveash wrote:
> 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)
> _______________________________________________
> krbdev mailing list             krbdev at mit.edu
> https://mailman.mit.edu/mailman/listinfo/krbdev

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



More information about the krbdev mailing list