[5312] in Kerberos
Re: Solaris 2.4/setreuid
daemon@ATHENA.MIT.EDU (Michael Helm)
Thu Jun 1 17:55:20 1995
To: kerberos@MIT.EDU
Date: 1 Jun 1995 21:34:43 GMT
From: mike@fionn.lbl.gov (Michael Helm)
Reply-To: mike@fionn.lbl.gov (Michael Helm)
Casper H.S. Dik - Network Security Engineer writes:
mwh>Looks like __svr4__ is supposed to hide this in src/lib/krb4/in_tkt.c
mwh>[This is SUNWspro-3.0/bin/cc, btw]. Doesn't seem to be defined, tho.
>Change this to read:
>
>if defined(__svr4__) || defined(__SVR4)
>
>(GNU cc defines __svr4__, SunPRO C (version 3.0 and later) defines
>__SVR4)
There are 3 files in src/lib/krb4 where the potential exists for a
problem:
g_pw_in_tkt.c:#ifdef __svr4__
in_tkt.c:#ifdef __svr4__
tf_util.c:#ifdef __svr4__
Altho only this one was involved in my build.
As you mention, it's SunPRO v3 & later that define __SVR4. Perhaps
this needs to be some sort of configure check, because it may
be the case that not everybody will use SunPRO v3; for example
the default here is still some form of SunPRO v2. I don't know
if that's just a sign of inertia or representative or what, but
in any event other Solaris sites may need this fixed.
Probably due to a side-effect of my Solaris configuration, I wound up
using install-sh. In many of the directories the relative path
to this script was off by one "../", usually in the Makefile at
the bottom of the tree:
./include/krb5/Makefile
./kdc/Makefile
./appl/sample/sclient/Makefile
./appl/sample/sserver/Makefile
./appl/simple/client/Makefile
./appl/simple/server/Makefile
./appl/telnet/telnet/Makefile
./appl/telnet/telnetd/Makefile
Most were 1 ../ short, altho ./kdc/Makefile had 1 ../ too many.
I'm not going to try to resolve why this happens.