[14519] 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 (shen)
Wed May 30 19:14:18 2001

From: "shen" <swu@platform.com>
Message-ID: <6AeR6.344$aR.6582@read1>
Date: Wed, 30 May 2001 18:32:16 -0400
To: kerberos@MIT.EDU

Hi,
I have tried:
1) modified des.h
2) change sys_errlist and sys_nerr
3) krb5 1.2.2
4) -with-cc='cc -xarch=v9'

The build was fine, but I still got  "GSS-API (or Kerberos) error while
initializing kadmin interface" after I entered password in kadmin.

Shen

""Booker C. Bense"" <bbense@networking.stanford.edu> wrote in message
news:Pine.GSO.4.33.0105250740120.17644-100000@shred.stanford.edu...
> 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