[897] in Kerberos_V5_Development
Re: "Two copies of DES library" change breaks K5 compat w/Cygnus K4
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Sun Mar 19 18:56:54 1995
Date: Sun, 19 Mar 1995 18:56:37 -0500
From: "Theodore Ts'o" <tytso@MIT.EDU>
To: gnu@cygnus.com
Cc: krbdev@MIT.EDU, gnu@cygnus.com
In-Reply-To: <199503192318.PAA07842@cygnus.com> (message from John Gilmore on Sun, 19 Mar 1995 15:18:06 -0800)
Date: Sun, 19 Mar 1995 15:18:06 -0800
From: John Gilmore <gnu@cygnus.com>
The KDC will no longer link, because including
/usr/kerberos/lib/libkrb.a also requires including
/usr/kerberos/lib/libdes.a, which contains a routine for getting the
time-of-day (because it was needed both in libdes for generating
random keys, and in libkrb for timing).
Oh, yeah. I think we ran into this before.... the problem is that
Cygnus introduced a new function into des.a, that's not in MIT's des.a
(and hence isn't in des425.a).
The long term fix is that we need to include a copy of the V4 Kerberos
library into the V5 tree, both so that (a) it's easier to compile
Kerberos with v4 compatibility, and (b) to prevent skew problems like
this one.
I'd suggest the short-term fix of grabbing the Cygnus gettime of day
function, and dropping it into des425.a, instead of reverting the
change, though. The whole point of des425.a is to avoid including two
copies of the DES library. Which function is it that's missing from
des425.a, that the Cygnus krb.a needs?
- Ted