[2668] in Kerberos-V5-bugs
krb5-libs/376: Wrong default ccache type is chosen
daemon@ATHENA.MIT.EDU (Ken Hornstein)
Thu Feb 13 00:58:59 1997
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, kenh@cmf.nrl.navy.mil
Date: Thu, 13 Feb 1997 00:54:14 -0500 (EST)
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Reply-To: kenh@cmf.nrl.navy.mil
To: krb5-bugs@MIT.EDU
>Number: 376
>Category: krb5-libs
>Synopsis: The wrong default ccache type is compiled into libkrb5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Feb 13 00:55:00 EST 1997
>Last-Modified:
>Originator: Ken Hornstein
>Organization:
Naval Research Lab
>Release: 1.0
>Environment:
System: SunOS nexus 4.1.4 2 sun4m
Architecture: sun4
>Description:
The credential cache default type is compiled into libkrb5, and is depending
on an #ifdef HAVE_SYS_TYPES_H. But sys/types.h is never checked by the
configure script!
>How-To-Repeat:
Watch the ccache code get compiled, and observe that HAVE_SYS_TYPES_H
is never defined, even on machines that have it.
>Fix:
--- lib/krb5/ccache/configure.in.orig Thu Feb 13 00:42:36 1997
+++ lib/krb5/ccache/configure.in Thu Feb 13 00:42:54 1997
@@ -4,6 +4,7 @@
AC_PROG_ARCHIVE
AC_PROG_ARCHIVE_ADD
AC_PROG_RANLIB
+AC_CHECK_HEADERS(sys/types.h)
DO_SUBDIRS
V5_SHARED_LIB_OBJS
SubdirLibraryRule([$(OBJS)])
>Audit-Trail:
>Unformatted: