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

Re: cvs and heimdal



On Sat, Jul 24, 1999 at 05:25:39AM +0200, Assar Westerlund wrote:
> > Has anyone got CVS GSSAPI support to work with heimdal?
> 
> Yes, I played with it when I initially got cvs to build with our
> gssapi library.  Now I had another go with 0.1h and it seems to work
> fine.
> 
> datan:>cvs -a -x -d :gserver:`hostname`:/tmp/cvsroot history
> O 07/24 03:17 +0000 assar foobar =foobar= <remote>/*
> 
> Sorry to sound some Microsoft-like here, but can you grab 0.1h and see
> if it then works for you?  Something could have gotten broken

IMHO Nothing Microsoft-like here... Just standard practise for software
that is still under active development and not officially released (yet).

> somewhere and I can't say I fancy going and looking for exactly where
> it broke.  If it doesn't work for you with 0.1h we will try to sort
> that problem out.  Thanks.

No - same problem:

[529] [snoopy:bam] ~/cvswork/heimdal/build/kuser >cvs  -d :gserver:snoopy.apana.org.au:/usr/local/cvsroot checkout abc
cvs [checkout aborted]: GSSAPI authentication failed:  unknown routine error

In addition, with 0.1h my Kerberos password is no longer accepted...
Existing tickets seem to work fine.

[534] [snoopy:bam] ~/cvswork/heimdal/build/kuser >./kinit
bam@CHOCBIT.ORG.AU's Password:
kinit: Password incorrect

Of course, I did use the correct password, and I did try it multiple
times in case I made a mistake.

I haven't recompiled cvs yet, but it uses shared libraries, so I don't
think that should be a problem...

BTW, in order to get heimdal 0.1h to compile, I had to modify one of the
make files (I modified the *.am file, the *.in file was automatically
generated). Otherwise gcc would try to link in some object files
multiple times for the libroken shared library.

Index: heimdal-0.1h/lib/roken/Makefile.am
diff -c heimdal-0.1h/lib/roken/Makefile.am:1.1.1.2 heimdal-0.1h/lib/roken/Makefile.am:1.2
*** heimdal-0.1h/lib/roken/Makefile.am:1.1.1.2	Sat Jul 24 18:25:18 1999
--- heimdal-0.1h/lib/roken/Makefile.am	Sun Jul 25 13:03:56 1999
***************
*** 20,37 ****
  libroken_la_SOURCES =		\
  	base64.c		\
  	concat.c		\
- 	copyhostent.c		\
  	emalloc.c		\
  	eread.c			\
  	erealloc.c		\
  	estrdup.c		\
  	ewrite.c		\
- 	freehostent.c		\
  	get_default_username.c	\
  	get_window_size.c	\
  	getarg.c		\
- 	getipnodebyaddr.c	\
- 	getipnodebyname.c	\
  	inaddr2str.c		\
  	issuid.c		\
  	k_getpwnam.c		\
--- 20,33 ----
Index: heimdal-0.1h/lib/roken/Makefile.in
diff -c heimdal-0.1h/lib/roken/Makefile.in:1.1.1.2 heimdal-0.1h/lib/roken/Makefile.in:1.2
*** heimdal-0.1h/lib/roken/Makefile.in:1.1.1.2	Sat Jul 24 18:25:18 1999
--- heimdal-0.1h/lib/roken/Makefile.in	Sun Jul 25 13:03:56 1999
***************
*** 182,188 ****
  
  @KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD =  $(LIB_krb4) -ldes
  
! libroken_la_SOURCES =  	base64.c			concat.c			copyhostent.c			emalloc.c			eread.c				erealloc.c			estrdup.c			ewrite.c			freehostent.c			get_default_username.c		get_window_size.c		getarg.c			getipnodebyaddr.c		getipnodebyname.c		inaddr2str.c			issuid.c			k_getpwnam.c			k_getpwuid.c			mini_inetd.c			net_read.c			net_write.c			parse_time.c			parse_units.c			parse_units.h			print_version.c			resolve.c			roken_gethostby.c		signal.c			simple_exec.c			snprintf.c			strcat_truncate.c		strcpy_truncate.c		tm2time.c			verify.c			warnerr.c			xdbm.h
  
  
  EXTRA_libroken_la_SOURCES =  	chown.c				daemon.c			err.c				err.h				errx.c				fchown.c			flock.c				fnmatch.c			fnmatch.h			getdtablesize.c			getegid.c			geteuid.c			getgid.c			gethostname.c			getopt.c			gettimeofday.c			getuid.c			getusershell.c			glob.h				hstrerror.c			inet_aton.c			initgroups.c			innetgr.c			iruserok.c			lstat.c				memmove.c			mkstemp.c			putenv.c			rcmd.c				readv.c				recvmsg.c			sendmsg.c			setegid.c			setenv.c			seteuid.c			strcasecmp.c			strdup.c			strerror.c			strftime.c			strlwr.c			strncasecmp.c			strndup.c			strnlen.c			strsep.c			strtok_r.c			strupr.c			swab.c				unsetenv.c			verr.c				verrx.c				vsyslog.c			vwarn.c				vwarnx.c			warn.c				warnx.c				writev.c
--- 182,188 ----
  
  @KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD =  $(LIB_krb4) -ldes
  
! libroken_la_SOURCES =  	base64.c			concat.c			emalloc.c			eread.c				erealloc.c			estrdup.c			ewrite.c			get_default_username.c		get_window_size.c		getarg.c			inaddr2str.c			issuid.c			k_getpwnam.c			k_getpwuid.c			mini_inetd.c			net_read.c			net_write.c			parse_time.c			parse_units.c			parse_units.h			print_version.c			resolve.c			roken_gethostby.c		signal.c			simple_exec.c			snprintf.c			strcat_truncate.c		strcpy_truncate.c		tm2time.c			verify.c			warnerr.c			xdbm.h
  
  
  EXTRA_libroken_la_SOURCES =  	chown.c				daemon.c			err.c				err.h				errx.c				fchown.c			flock.c				fnmatch.c			fnmatch.h			getdtablesize.c			getegid.c			geteuid.c			getgid.c			gethostname.c			getopt.c			gettimeofday.c			getuid.c			getusershell.c			glob.h				hstrerror.c			inet_aton.c			initgroups.c			innetgr.c			iruserok.c			lstat.c				memmove.c			mkstemp.c			putenv.c			rcmd.c				readv.c				recvmsg.c			sendmsg.c			setegid.c			setenv.c			seteuid.c			strcasecmp.c			strdup.c			strerror.c			strftime.c			strlwr.c			strncasecmp.c			strndup.c			strnlen.c			strsep.c			strtok_r.c			strupr.c			swab.c				unsetenv.c			verr.c				verrx.c				vsyslog.c			vwarn.c				vwarnx.c			warn.c				warnx.c				writev.c
***************
*** 218,231 ****
  X_EXTRA_LIBS = @X_EXTRA_LIBS@
  X_PRE_LIBS = @X_PRE_LIBS@
  libroken_la_DEPENDENCIES =  @LTLIBOBJS@
! libroken_la_OBJECTS =  base64.lo concat.lo copyhostent.lo emalloc.lo \
! eread.lo erealloc.lo estrdup.lo ewrite.lo freehostent.lo \
! get_default_username.lo get_window_size.lo getarg.lo getipnodebyaddr.lo \
! getipnodebyname.lo inaddr2str.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \
! mini_inetd.lo net_read.lo net_write.lo parse_time.lo parse_units.lo \
! print_version.lo resolve.lo roken_gethostby.lo signal.lo simple_exec.lo \
! snprintf.lo strcat_truncate.lo strcpy_truncate.lo tm2time.lo verify.lo \
! warnerr.lo
  noinst_PROGRAMS =  make-roken$(EXEEXT) make-print-version$(EXEEXT)
  PROGRAMS =  $(noinst_PROGRAMS)
  
--- 218,230 ----
  X_EXTRA_LIBS = @X_EXTRA_LIBS@
  X_PRE_LIBS = @X_PRE_LIBS@
  libroken_la_DEPENDENCIES =  @LTLIBOBJS@
! libroken_la_OBJECTS =  base64.lo concat.lo emalloc.lo eread.lo \
! erealloc.lo estrdup.lo ewrite.lo get_default_username.lo \
! get_window_size.lo getarg.lo inaddr2str.lo issuid.lo k_getpwnam.lo \
! k_getpwuid.lo mini_inetd.lo net_read.lo net_write.lo parse_time.lo \
! parse_units.lo print_version.lo resolve.lo roken_gethostby.lo signal.lo \
! simple_exec.lo snprintf.lo strcat_truncate.lo strcpy_truncate.lo \
! tm2time.lo verify.lo warnerr.lo
  noinst_PROGRAMS =  make-roken$(EXEEXT) make-print-version$(EXEEXT)
  PROGRAMS =  $(noinst_PROGRAMS)
  
-- 
Brian May <bam@snoopy.apana.org.au>

PGP signature