Skip Menu |
 

From: raeburn@mit.edu
Subject: SVN Commit
Don't add kdc.conf to the list of config files to use unless it's
actually requested. Reported by Will Fiveash.

Commit By: raeburn



Revision: 19239
Changed Files:
U trunk/src/lib/krb5/os/init_os_ctx.c
From: tlyu@mit.edu
Subject: SVN Commit
pull up r19239 from trunk

r19239@cathode-dark-space: raeburn | 2007-03-21 00:14:02 -0400
ticket: new
subject: krb5 library uses kdc.conf when it shouldn't

Don't add kdc.conf to the list of config files to use unless it's
actually requested. Reported by Will Fiveash.



Commit By: tlyu



Revision: 19415
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/lib/krb5/os/init_os_ctx.c
Will Fiveash noticed that the KDC config file was getting used in all programs. The bug is in
os_init_paths():

On Wed, Mar 07, 2007 at 05:14:16PM -0600, Will Fiveash wrote:
Shouldn't that be?

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

It wasn't checking the "kdc" flag before. This is fixed in r19239 on the trunk.