Building heimdal-0.7 with krb4 support

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building heimdal-0.7 with krb4 support

Andreas Haupt
Hello,

Heimdal 0.7 seems to explicitly requrire OpenSSL 0.9.7x. Am I right? These
error messages occur in config.log when trying to link against 0.9.6:

/tmp/ccmjGcRJ.o(.text+0x5b): In function `main':
: undefined reference to `UI_UTIL_read_pw_string'
/tmp/ccmjGcRJ.o(.text+0x6c): In function `main':
: undefined reference to `AES_encrypt'
/tmp/ccmjGcRJ.o(.text+0x84): In function `main':
: undefined reference to `DES_cbc_encrypt'

In fact, the symbols are only available in the 0.9.7 libraries.

But: the latest stable kth-krb4 libraries cannot be built against OpenSSL
0.9.7x - just against 0.9.6x. What had I best do?

Greetings
Andreas

--
| Andreas Haupt                      | E-Mail:  [hidden email]
|  DESY Zeuthen                      | WWW:     http://www.desy.de/~ahaupt
|  Platanenallee 6                   | Phone:   +49/33762/7-7359
|  D-15738 Zeuthen                   | Fax:     +49/33762/7-7216
Reply | Threaded
Open this post in threaded view
|

Re: Building heimdal-0.7 with krb4 support

Dave Love
Andreas Haupt <[hidden email]> writes:

> But: the latest stable kth-krb4 libraries cannot be built against
> OpenSSL 0.9.7x - just against 0.9.6x. What had I best do?

I've not tried linking against krb4, but you can configure Heimdal 0.7
--without-openssl.
Reply | Threaded
Open this post in threaded view
|

Re: Building heimdal-0.7 with krb4 support

Andreas Haupt
On Mon, 4 Jul 2005, Dave Love wrote:

> Andreas Haupt <[hidden email]> writes:
>
>> But: the latest stable kth-krb4 libraries cannot be built against
>> OpenSSL 0.9.7x - just against 0.9.6x. What had I best do?
>
> I've not tried linking against krb4, but you can configure Heimdal 0.7
> --without-openssl.

Won't that cause problems when linking other programs (like OpenSSH)
against Heimdal?

With older versions we ran into problems with duplicate symbols
(from builtin libdes and OpenSSL). Whereas Heimdal might not need
OpenSSL, OpenSSH does!

Greetings
Andreas

--
| Andreas Haupt                      | E-Mail:  [hidden email]
|  DESY Zeuthen                      | WWW:     http://www.desy.de/~ahaupt
|  Platanenallee 6                   | Phone:   +49/33762/7-7359
|  D-15738 Zeuthen                   | Fax:     +49/33762/7-7216
Reply | Threaded
Open this post in threaded view
|

Re: Building heimdal-0.7 with krb4 support

Dave Love
Andreas Haupt <[hidden email]> writes:

> Won't that cause problems when linking other programs (like OpenSSH)
> against Heimdal?

I assumed not, but I guess Love will have to answer if you can't do
the experiment.
Reply | Threaded
Open this post in threaded view
|

Re: Building heimdal-0.7 with krb4 support

Love Hörnquist Åstrand
In reply to this post by Andreas Haupt

Andreas Haupt <[hidden email]> writes:

> Hello,
>
> Heimdal 0.7 seems to explicitly requrire OpenSSL 0.9.7x. Am I right?
> These error messages occur in config.log when trying to link against
> 0.9.6:

Heimdal 0.7 supports both kerberos 4 and kerberos 5 in the KDC (even w/o
kerberos 4 libraries). To use Heimdal 0.7 with openssl and kth-krb you have
to find the snapshot that had all its des_ renamed to DES_. I'm offline
right now, so I can't check where it is.

Love



attachment0 (487 bytes) Download Attachment