[4896] in testers

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

Default path causes wrong ktutil to run

daemon@ATHENA.MIT.EDU (Mitchell E Berger)
Tue Jun 26 01:11:40 2001

Message-Id: <200106260511.BAA26818@byte-me.mit.edu>
To: testers@MIT.EDU
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 26 Jun 2001 01:11:37 -0400
From: Mitchell E Berger <mitchb@MIT.EDU>

I accidentally discovered this while trying to install a srvtab on my 9.0 
SparcClassic (the OpenAFS hack was a huge success)...

Solaris 8 includes a bunch of Kerberos binaries in /usr/bin, while we have 
ours split between /usr/athena/bin (the more common ones) and /usr/athena/etc 
(the less frequently used ones).  Matters are complicated because in the 
default path, /usr/athena/bin comes before /usr/bin, which comes before 
/usr/athena/etc.  ktutil, used by anyone installing a srvtab, is in 
/usr/athena/etc and /usr/bin, so the /usr/bin one is selected by default.  
Unfortunately, the Sun binaries expect krb5.conf to be in /etc/krb5/krb5.conf 
rather than /etc/krb5.conf, which is what we use, so it errors out.

The three suggestions I have for fixing this (I'm not really sure which is 
best, but I guess I'd lean towards the second, and I think the third might 
have undesirable side-effects) are:

1) Blow away /usr/bin/ktutil (and possibly the other Sun Kerberos binaries)
or
2) Move our ktutil from /usr/athena/etc to /usr/athena/bin
or
3) Change the ordering of the default path.

As far as I could tell on a cursory glance, the other Kerberos binaries we 
have in /usr/athena/etc don't conflict with anything Sun provides in the 
default install.

Mitch


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