Windows: Search for config files in %{COMMON_APPDATA}/Kerberos

In addition to the Heimdal directory, also search in the
generic Kerberos configuration file directory.
This commit is contained in:
Asanka C. Herath
2010-10-27 03:45:45 -04:00
parent 2f2dca748d
commit 6e6468ab98

View File

@@ -44,7 +44,9 @@ KRB5_LIB_VARIABLE const char *krb5_config_file =
#endif /* __APPLE__ */ #endif /* __APPLE__ */
"~/.krb5/config:" "~/.krb5/config:"
SYSCONFDIR "/krb5.conf" SYSCONFDIR "/krb5.conf"
#ifndef _WIN32 #ifdef _WIN32
":%{COMMON_APPDATA}/Kerberos/krb5.conf"
#else
":/etc/krb5.conf" ":/etc/krb5.conf"
#endif #endif
; ;