[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Heimdal 0.8.1 and Sun Java GSSAPI




Thank you for the patch. Though, I have problem to compile it:

/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wmissing-prototypes 
-Wpointer-arith -Wbad-function-cast -Wmissing-declarations 
-Wnested-externs -DINET6 -g -O2    -o kdc  connect.o config.o main.o 
libkdc.la ../lib/hdb/libhdb.la    ../lib/krb5/libkrb5.la 
../lib/des/libhcrypto.la  ../lib/asn1/libasn1.la  ../lib/vers/libvers.la 
../lib/roken/libroken.la -lcrypt
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast 
-Wmissing-declarations -Wnested-externs -DINET6 -g -O2 -o .libs/kdc 
connect.o config.o main.o  ./.libs/libkdc.so 
/scratch/install/heimdal-0.8.1/lib/hdb/.libs/libhdb.so 
/scratch/install/heimdal-0.8.1/lib/ntlm/.libs/libheimntlm.so 
../lib/hdb/.libs/libhdb.so 
/scratch/install/heimdal-0.8.1/lib/krb5/.libs/libkrb5.so 
../lib/krb5/.libs/libkrb5.so 
/scratch/install/heimdal-0.8.1/lib/hx509/.libs/libhx509.so 
/scratch/install/heimdal-0.8.1/lib/des/.libs/libhcrypto.so 
../lib/des/.libs/libhcrypto.so 
/scratch/install/heimdal-0.8.1/lib/asn1/.libs/libasn1.so 
../lib/asn1/.libs/libasn1.so -lcom_err 
/scratch/install/heimdal-0.8.1/lib/roken/.libs/libroken.so 
../lib/vers/.libs/libvers.a ../lib/roken/.libs/libroken.so -lcrypt 
-Wl,--rpath -Wl,/usr/local/lib
./.libs/libkdc.so: undefined reference to `krb5_data_cmp'
*** Error code 1

Stop in /scratch/install/heimdal-0.8.1/kdc.
*** Error code 1

Stop in /scratch/install/heimdal-0.8.1.


Quic search through .h files didn't help me to resolve what additional 
header to include in the kerberos5.c. Or is krb5_data_cmp mispelled ?

David


On Wed, 4 Jul 2007, Love Hörnquist Åstrand wrote:

> 3 jul 2007 kl. 07.41 skrev xdavid@lib-eth.natur.cuni.cz:
>
>> Sun Java SE 6, update 1 and update 2beta - both the same behaviour, WinXP 
>> SP2 CZ, Redhat Linux 4 ES (the same problem on both these OSes). Using 
>> JAAS.
>
> Think I reproduced the problem with java 1.5.0_07. can you try this patch to 
> the KDC ? Applies clean to 0.8 branch.
>
> http://people.su.se/~lha/patches/heimdal/default-salt-detection.txt
>
> Love
>