mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
aklog: Search for /etc/krb5/krb5.conf
aklog tweaks the KRB5_CONFIG environment var when performing one of our 'weak crypto' workarounds. We assume that the default krb5.conf is /etc/krb5.conf, but for Solaris 11 libkrb5, krb5.conf is in /etc/krb5/krb5.conf. Although this file could be anywhere, try /etc/krb5/krb5.conf too, so we at least work on stock Solaris. Change-Id: I1f53b9b58549da04f2a27f1f579dd0084796e51d Reviewed-on: http://gerrit.openafs.org/9666 Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
42351db75e
commit
cd1ffc1073
@ -1463,7 +1463,7 @@ main(int argc, char *argv[])
|
||||
{
|
||||
char *filepath = NULL, *newpath = NULL;
|
||||
#ifndef AFS_DARWIN_ENV
|
||||
char *defaultpath = "/etc/krb5.conf";
|
||||
char *defaultpath = "/etc/krb5.conf:/etc/krb5/krb5.conf";
|
||||
#else
|
||||
char *defaultpath = "~/Library/Preferences/edu.mit.Kerberos:/Library/Preferences/edu.mit.Kerberos";
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user