Subject: bin/15520: ktutil coredumps on "get"
To: None <>
From: Mark Davies <>
List: netbsd-bugs
Date: 02/07/2002 23:31:44
>Number:         15520
>Category:       bin
>Synopsis:       ktutil coredumps on "get"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 07 02:32:00 PST 2002
>Originator:     Mark Davies
>Release:        NetBSD 1.5ZA 5/2/2002.
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
System: NetBSD 1.5ZA NetBSD 1.5ZA (MCS_WORKSTATION) #7: Tue Feb  5
21:31:08 NZDT 2002 i386
Architecture: i386
Machine: i386
	ktutil dies with a SEGV when trying to do a 'get' to update host
	keys in a keytab.

	Stacktrace from the core shows:

(gdb) where
#0  0x4808fae6 in krb5_store_string () from /usr/lib/
#1  0x480662fa in _kadm5_marshal_params () from /usr/lib/
#2  0x48064a92 in _kadm5_c_init_context () from /usr/lib/
#3  0x48064c39 in _kadm5_connect () from /usr/lib/
#4  0x48065478 in kadm5_c_create_principal () from /usr/lib/
#5  0x48063aa9 in kadm5_create_principal () from /usr/lib/
#6  0x804aca9 in kt_get ()
#7  0x4817c329 in sl_command () from /usr/lib/
#8  0x804b2a0 in main ()
#9  0x8049770 in ___start ()


	Run something like "ktutil get -p mark/admin host/"
	Watch it core dump.

	Note the kdc/kadmind is also on an i386 1.5ZA system.

	Running the same command to the same kdc/kadmind from a Tru64 box
	running heimdal 0.4c works.
	Don't know yet.