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.
ticket: 5480
version_fixed: 1.6.1
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19415
dc483132-0cff-0310-8789-
dd5450dbe970
retval = os_get_default_config_files(&files, secure);
- if (retval == 0)
+ if (retval == 0 && kdc)
retval = add_kdc_config_file(&files);
if (!retval) {