[5091] in Kerberos

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

Re: Could somebody help us?

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Fri May 5 09:34:58 1995

To: kerberos@MIT.EDU
Date: 5 May 1995 13:23:34 GMT
From: jik@cam.ov.com (Jonathan I. Kamens)

In article <199505051236.OAA14048@mars.dsv.su.se>, xiaohong@dsv.su.se (Xiaohong Jin) writes:
|> Hi, Recently, we are trying to run KRB5B4.3 on HP. It's no problem to
|> recompile the system (sure it is needed to fix somethings). Then we used
|> kdb5_create to create database. But we can't use either kdb5_stash or
|> kdb5_edit to save the master key to a file or to add new entries to the
|> database. I looked inside of the database, it seemed ok. The message I got
|> from kdb5_edit as follows:
|> 
|> No such entry while retrieve master entry.

You can't use gcc to compile Kerberos on HP-UX, because gcc doesn't handle
HP-UX structure-returning conventions, so the interface to the system DBM
libraries gets screwed up.

Here are some options for dealing with this problem:

1) Use an HP C compiler to compile Kerberos.

2) Get gcc-2.6.3.u9 from jaguar.cs.utah.edu:/dist and use that version of gcc
to compile Kerberos.  It's a later (pre-release) version of gcc which does
structure-returning (mostly -- one of the authors told me, "we're still
running into occasional problems, but those are in obscure cases") correctly
under HP-UX.

3) Compile GNU dbm with gcc, and then use its DBM-compatibility interface as
the DBM library for Kerberos, instead of using the system DBM library.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

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