[2006] in Kerberos_V5_Development
Re: krb5-admin/232: make check fails under NetBSD
daemon@ATHENA.MIT.EDU (Marc Horowitz)
Sat Nov 23 14:08:29 1996
Resent-To: krb5-bugs@MIT.EDU, krbdev@MIT.EDU
Resent-From: Sam Hartman <hartmans@MIT.EDU>
Date: Sat, 23 Nov 1996 03:18:48 -0500 (EST)
From: Marc Horowitz <marc@cygnus.com>
To: Barry Jaspan <bjaspan@MIT.EDU>, hartmans@MIT.EDU
Cc: krbdev@cygnus.com
`Marc Horowitz' changed the state to `analyzed'.
State-Changed-From-To: open-analyzed
State-Changed-By: marc
State-Changed-When: Sat Nov 23 03:09:32 1996
State-Changed-Why:
I instrumented a whole bunch of stuff. I know what the problem is,
basically, but no clue *why* it is happening.
kadmind sets krb5_defkeyname to the admin keytab name, which is
broken, but it it also what we've got for now. If KRB5_KTNAME is set,
that gets used instead of the name in the kdc.conf file. the kdc.conf
file is correct; the keytab is in tmpdir/admin-keytab and is correct,
but KRB5_KTNAME is set most bogusly:
(gdb) p ((char **) environ)[21]
$46 = 0xf7bfdc9b "KRB5_KTNAME=/u1/var/tmp/krb5/build/kadmin/testing/krb5-test-root/ovsec_adm.srvtab"
The actual failure is that the principal isn't in the keytab, which is
consistent with the above, and all the work I did in the debugger.
At this point, it's 3am, and I don't want to work on this anymore.
I'm convinced the problem is in the tests, but I don't have a real
clue where. I think that this is relevant:
./kadmin/testing/scripts/env-setup.shin:KRB5_KTNAME=$K5ROOT/ovsec_adm.srvtab; export KRB5_KTNAME
but I haven't finished tracking it down. again, it seems really weird
that this is only happening on netbsd.
I recommend that this not hold up the release, but this is Ted's
decision.