info-cvs
[Top][All Lists]
Advanced

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

RE: CVS+GSSAPI (Kerb5)


From: John W. Warner
Subject: RE: CVS+GSSAPI (Kerb5)
Date: Mon, 24 Sep 2001 11:16:56 -0400

Ok, 

Ok, I'm using Solaris 2.8. MIT K5 1.2.1 (binary distribution). More
specifically, krb5-1.2.1-sparc-sun-solaris2.6.tar

I am finding the libraries and headers fine now.

checking for krb.h... 
checking for krb_get_err_text... no
checking for GSSAPI
checking for gssapi.h... yes
checking for gssapi/gssapi.h... yes
checking for krb5.h... yes
checking for GSSAPI... yes
checking for gssapi.h... (cached) yes
checking for gssapi/gssapi.h... (cached) yes
checking for gssapi/gssapi_generic.h... yes
checking for krb5.h... (cached) yes
checking for GSS_C_NT_HOSTBASED_SERVICE... yes
checking for library containing des_set_odd_parity... no
checking for library containing com_err... -lcom_err
checking for library containing initialize_asn1_error_table_r... no
checking for library containing __dn_expand... no
checking for library containing roken_gethostbyaddr... no
checking for library containing valid_enctype... -lk5crypto
checking for library containing compile... -lgen
checking for library containing krb5_free_context... -lkrb5
checking for library containing gss_import_name... -lgssapi_krb5
checking for gethostname... yes

However, I get the follwing error when compiling;

make[3]: Entering directory `/home/root/projects/cvs/ccvs/src'
source='client.c' object='client.o' libtool=no \
depfile='.deps/client.Po' tmpdepfile='.deps/client.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I../diff -I../zlib
-Iyes/include    -g -O2 -c `test -f client.c || echo './'`client.c
client.c: In function `connect_to_gserver':
client.c:4246: `GSS_C_NT_HOSTBASED_SERVICE' undeclared (first use in
this function)
client.c:4246: (Each undeclared identifier is reported only once
client.c:4246: for each function it appears in.)
make[3]: *** [client.o] Error 1


The gssapi.h file does not contain a reference to
GSS_C_NT_HOSTBASED_SERVICE
The code in ccvs src/client.c refers to xgssapi.h. Shouldn't it refer to
gssapi.h instead?


# ifdef HAVE_GSSAPI

#   include "xgssapi.h"

server.c seems to have the same reference though.

# ifdef HAVE_GSSAPI
/* This stuff isn't included solely with SERVER_SUPPORT since some of
these
 * functions (encryption & the like) get compiled with or without server
 * support.
 *
 * FIXME - They should be in a different file.
 */
#   include <netdb.h>
#   include "xgssapi.h"
/* We use Kerberos 5 routines to map the GSSAPI credential to a user
   name.  */
#   include <krb5.h>

#  nm -A *.a | grep gss_nt_service_name
libgssapi_krb5.a:gssapi_generic.o:000000000000003c D gss_nt_service_name
libgssapi_krb5.a:gssapi_generic.o:0000000000000044 D
gss_nt_service_name_v2
libgssapi_krb5.a:oid_ops.o:                 U gss_nt_service_name
libgssapi_krb5.a:oid_ops.o:                 U gss_nt_service_name_v2
libgssapi_krb5.a:import_name.o:                 U gss_nt_service_name
libgssapi_krb5.a:import_name.o:                 U gss_nt_service_name_v2
libgssapi_krb5.a:inq_names.o:                 U gss_nt_service_name
libgssapi_krb5.a:inq_names.o:                 U gss_nt_service_name_v2
libgssrpc.a:auth_gssapi.o:                 U gss_nt_service_name





reply via email to

[Prev in Thread] Current Thread [Next in Thread]