Subject: bin/10623: telnet -l fails if krb5.conf not present.
To: None <gnats-bugs@gnats.netbsd.org>
From: Mark Davies <mark@MCS.VUW.AC.NZ>
List: netbsd-bugs
Date: 07/17/2000 19:07:19
>Number:         10623
>Category:       bin
>Synopsis:       telnet -l fails if krb5.conf not present.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 17 19:08:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mark Davies
>Release:        2000/07/18
>Organization:
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
>Environment:
	
System: NetBSD city-art.mcs.vuw.ac.nz 1.5A NetBSD 1.5A (MCS_WORKSTATION) #0: Thu Jun 22 11:01:18 NZST 2000 mark@turakirae.mcs.vuw.ac.nz:/src/crypto/src/sys/arch/i386/compile/MCS_WORKSTATION i386


>Description:
	With the addition of the test for existence of /etc/krb5.conf in
	krb5_init_context() from a day or so ago telnet with autologin 
	from a host that isnt configured for kerberos to one that is
	fails with a seg fault.

>How-To-Repeat:
	From a host without a /etc/krb5.conf file to one that has one:
		telnet -l username hostname
	gives the following:

	dixon% telnet -l mark test
	Trying 130.195.5.250...
	Connected to test.mcs.vuw.ac.nz.
	Escape character is '^]'.
	[ Trying KERBEROS5 ... ]
	Segmentation fault
	dixon% 

>Fix:
	Don't know.

mark
>Release-Note:
>Audit-Trail:
>Unformatted: