]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid duplicate "/etc/krb5.conf" in profile path
authorTom Yu <tlyu@mit.edu>
Tue, 25 Feb 2014 22:35:35 +0000 (17:35 -0500)
committerTom Yu <tlyu@mit.edu>
Thu, 26 Jun 2014 20:24:32 +0000 (16:24 -0400)
commit51ef4b50e46d21374319b7070ad63ba7bb672ee2
treeb5f2a003cb3a42c54007c3270af014026c48fb93
parentb43a8cf59e9e37f7d19d2c1a73fea6f3d7eb93cc
Avoid duplicate "/etc/krb5.conf" in profile path

If configure gets run with --sysconfdir=/etc, "/etc/krb5.conf" shows
up twice in the profile path, which causes its contents to be read
twice.  This can cause some confusing and possibly problematic
behavior.

Add some logic to configure.in to avoid adding the duplicate entry for
"/etc/krb5.conf".

Reported independently by Denis Vlasenko and Fredrik Tolf.

(back ported from commit 8df1965d1ccdbcb8d74a3e68ad35d7579db9ac44)

ticket: 3277
version_fixed: 1.12.2
status: resolved
src/configure.in
src/include/Makefile.in
src/include/osconf.hin