[14480] in Kerberos
Re: Krb5 on Solaris 7/8 64-bit
daemon@ATHENA.MIT.EDU (Booker C. Bense)
Fri May 25 16:42:21 2001
Date: Fri, 25 May 2001 13:35:40 -0700 (PDT)
From: "Booker C. Bense" <bbense@networking.stanford.edu>
To: <johanvz@ewranglers.com>
cc: <kerberos@mit.edu>
In-Reply-To: <9embnj$dkd$1@news.skycache.com>
Message-ID: <Pine.GSO.4.33.0105251333020.18705-100000@shred.stanford.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On 25 May 2001 johanvz@ewranglers.com wrote:
>
> >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?
>
> In article <Pine.GSO.4.33.0105250740120.17644-100000@shred.stanford.edu>,
> Booker C. Bense <bbense@networking.stanford.edu> wrote:
>
> >- 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>
>
> These changes did not make it into the source release of 1.2.2 that i
> downloaded:
>
> make[3]: Entering directory
> `/local/src/kerb/krb5-1.2.2/src/SunOS-5.7-64bit/lib/rpc/unit-test'
> cc -xarch=v9 -L../../../lib -R/usr/local/lib -o client client.o
> rpc_test_clnt.o \
> -lgssrpc -ldyn -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgen
> -lsocket -lnsl -lresolv
> Undefined first referenced
> symbol in file
> sys_errlist ../../../lib/libgssrpc.so
> sys_nerr ../../../lib/libgssrpc.so
> ld: fatal: Symbol referencing errors. No output written to client
>
> Executing the following command:
>
> find . -name \*.[ch] -exec grep -l sys_nerr {} \;
>
> ... at the top of the source tree yields:
>
> ./appl/telnet/libtelnet/strerror.c
> ./include/win-mac.h
> ./include/krb5/k5-config.h
> ./lib/krb5/posix/strerror.c
> ./lib/rpc/clnt_perror.c
- This is the only file you need to fix.
> ./util/db2/clib/strerror.c
> ./util/et/error_message.c
> ./util/et/internal.h
> ./util/et/test_et.c
>
> ... so i'm guess this is not a trivial change.
>
- Actually, it's a very trivial change. 99.99% of the code
uses strerror. There's one place in the old RPC code
inside gssapi that doesn't.
- Booker C. Bense