[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kadmin strangeness...
It's probably just me doing something strange and stupind but when
I try to set up a kadmin server it dumps core on this call to
krb5_unparse_name in kadmind.c (line 156 in 0.0t):
krb5_unparse_name(context, ticket->client, &client);
I run it in debug mode in gdb and this is what I find:
--------------------------------------------------------------------------
Breakpoint 2, main (argc=140288, argv=0xeffff92c) at kadmind.c:154
154 if(ret)
(gdb) p ret
$1 = 0
(gdb) s
156 krb5_unparse_name(context, ticket->client, &client);
(gdb) p ticket->client
No symbol "ticket" in current context.
(gdb) p ticket
No symbol "ticket" in current context.
(gdb) p context
$2 = 0x224f8
(gdb) p *context
$3 = {etypes = 0x0, default_realm = 0x24fd8 "NOC.SU.SE", max_skew = 300,
kdc_timeout = 3, max_retries = 3, kdc_sec_offset = 0, kdc_usec_offset = 0,
cf = 0x24d68, et_list = 0x22590, warn_dest = 0x24ff0, cc_ops = 0x0,
num_ops = 0, ktype_is_etype = 0, http_proxy = 0x0,
time_fmt = 0xef65bf98 "%d-%b-%Y %H:%M:%S", log_utc = 0,
default_keytab = 0xef65bf70 "FILE:/etc/krb5.keytab"}
(gdb) p *ticket
No symbol "ticket" in current context.
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x111c8 in main (argc=140288, argv=0xeffff92c) at kadmind.c:156
156 krb5_unparse_name(context, ticket->client, &client);
--------------------------------------------------------------------------
?????????
MVH leifj
Leif Johansson Phone: +46 8 164541
Department of Mathematics Fax : +46 8 6126717
Stockholm University email: leifj@matematik.su.se
<This space is left blank for quotational and disclamatory purposes.>