[14476] in Kerberos

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

Re: Krb5 on Solaris 7/8 64-bit

daemon@ATHENA.MIT.EDU (Booker C. Bense)
Fri May 25 10:51:02 2001

Date: Fri, 25 May 2001 07:47:58 -0700 (PDT)
From: "Booker C. Bense" <bbense@networking.stanford.edu>
To: shen <swu@platform.com>
cc: <kerberos@MIT.EDU>
In-Reply-To: <HM8P6.126$aR.1624@read1>
Message-ID: <Pine.GSO.4.33.0105250740120.17644-100000@shred.stanford.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 24 May 2001, shen wrote:

> I have compiled Krb5 1.2.1 (configure -with-cc='cc -xarch=v9') on Solaris
> 7/8 64-bit
> and changed source code by replacing sys_errlist and sys_nerr by strerror.
> The compiling went through fine. However, I got "GSS-API (or Kerberos) error
> while initializing kadmin interface" after I entered password. The 32-bit
> version worked well.
> Has anyone successfully implemented Krb5 on Solaris 7/8 64-bit?

- You might want to try 1.2.2[1], I'm pretty sure it has the
sys_errlist fix and some other fixes as well. In 1.2.1 we needed that
fix and the following tweak to des.h courtesy of Marc Reyhner
<mreyhner@cs.stanford.edu>

> The second change was to des.h.  The defintion of KRB4_32 was wrong
>on sparcv9 so I had to change the setting of the macro to,
>
>#ifndef __alpha
>#ifdef __sparcv9
>/* On 64bit solaris long's are 64 bits, doh... */
>#define KRB4_32 int
>#else
>#define KRB4_32 long
>#endif
>#else
>#define KRB4_32 int
>#endif
>
>Other than that just rebuilding with cc -xarch=v9 worked for building
>kerberos.

-Booker C. Bense

[1]- I know it's fixed in the krb5-current-dev src tree.


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