[14458] in Kerberos

home help back first fref pref prev next nref lref last post

On ./configure --sysconfdir=... and the meaning of multiple config files

daemon@ATHENA.MIT.EDU (Nicolas Williams)
Wed May 16 17:04:48 2001

Date: Wed, 16 May 2001 16:46:07 -0400
From: Nicolas Williams <Nicolas.Williams@ubsw.com>
To: kerberos@mit.edu
Message-ID: <20010516164605.D26763@sm2p1386swk.wdr.com>
Mail-Followup-To: kerberos@mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

MIT krb5 is configured and built to read two krb5 config files:

 - /etc/krb5.conf

and

 - $sysconfdir/krb5.conf

If both exist then the profile library will read both files and, if they
are the same file, then all the entries are treated as if they appear
twice!!

It seems like this was a desired result. Is it?

Since Sun decided to put krb5.conf in /etc/krb5/, I'd thought that
configuring MIT krb5 to co-exist with Sun's version would be as simple
as "./configure --sysconfdir=/etc/krb5 ..." and "ln -s
/etc/krb5/krb5.conf /etc/krb5.conf". Turns out that's NOT good for the
reasons above.

So, I'll be removing the /etc/krb5.conf->/etc/krb5/krb5.conf convenience
symlinks I'd recently taken to making.

NOTE: the /etc/krb5.keytab path is not configurable via ./configure.

Thoughts?

Nico
--


home help back first fref pref prev next nref lref last post