[3593] in Kerberos
some bugs in kv54.1
daemon@ATHENA.MIT.EDU (Xiaohong Jin)
Fri Jul 22 08:53:21 1994
Date: Fri, 22 Jul 1994 14:19:59 +0200
To: kerberos@MIT.EDU
From: xiaohong@dsv.su.se (Xiaohong Jin)
Hi, Now we just get kv54.1 (both krb5kdc and kadmind) running on our SunOS
4.1.3 by using ./configure to do it automatically.
We found some, say small bugs, in some source codes.
1) in the file .../krb5/lib/keytab/file/ktf_util.c
#ifdef ANSI_STDIO
static char *fopen_mode_rbplus "rb+"
....
It is better to follow the specification of C language, then it should be
#ifdef ANSI_STDIO
static char *fopen_mode_rbplus "r+b"
The former one does not work at least on our machine.
2) in the file .../krb5/kadmin/v4kadmin/Makefile.in
install v4kadmind .../krb5kdc
Clearly, should be
install v4kadmind .../v4kadmind # otherwise it will overwrite krb5kdc
which is installed.
This is only for kv4 compatible option.
3) one function signals.c in .../krb5/lib/isode/compat library cause our
kadmind crashed. I tried to take out that object from the libisode.a and
recompile kadmind, then it works.
All is we have found, hope it will be helpful for the people who shared the
same problem as we.
------------------------------------------------------------------
Xiaohong Jin Telephone: +46-8-161660
Stockholm University/KTH Telefax: +46-8-7039025
Electrum 230 E-mail: xiaohong@dsv.su.se
S-164 40 Kista