[158] in Kerberos-V5-bugs
installation of Beta version done for Ultrix 4.0 Decstation
daemon@ATHENA.MIT.EDU (Bruce Cole)
Wed Jul 3 11:30:58 1991
Date: Wed, 3 Jul 91 10:30:52 -0500
From: cole@cs.wisc.edu (Bruce Cole)
To: krb5-bugs@ATHENA.MIT.EDU
Cc: cole@cs.wisc.edu
Hi, I just finished getting Kerberos5 running on my Decstation running
Ultrix 4.0. The installation was fairly painful. Problems I ran into are
detailed below:
con_err/internal.h:
Redeclaration of perror() clashes with system stdio.h declaration.
(I am using version 2.10 of the MIPS C compiler, so __STDC__ is
not defined). stdio.h declares perror() as "extern void perror();".
isode-interim/h/general.h:
Redeclaration of sprintf(), strlen() clash with system stdio.h and
strings.h declarations.
ss/mk_cmds.c:
#include <ss/ss_err.h> expects the ss include files to be installed in
/usr/include/ss. (I made a ss/ss a link to ss to get around this
problem.)
ss/error.c:
#include <com_err.h> expects the com_err include files to be installed
in /usr/include.
code in the kerberos src tree has the same problem with ss and com_err include
files.
src/appl/telnet/libtelnet/Imakefile:
Made the following change to allow src/appl/telnet/libtelnet/kerberos.c
to be able to #include <krb.h>:
*** 1.1 1991/06/19 21:19:30
--- Imakefile 1991/06/19 21:34:29
***************
*** 46,52 ****
--- 46,56 ----
DEFINES= -DAUTHENTICATE -DENCRYPT $(DEF_KRB4) -DKRB5 -DSIMPLE_AUTH -DTEST_ENCRYPT $(DEF_NOSTRDUP) $(DEF_SETENV) $(DEF_SIGRETURN)
+ #ifdef Krb4ApplCompat
+ INCLUDES=$(KRB4INCLUDES) -I..
+ #else
INCLUDES=-I..
+ #endif
SRCS= auth.c encrypt.c glob.c herror.c inetd.args.c kerberos.c \
kerberos5.c key.c krb4_des.c misc.c setenv.c simple_auth.c \
src/appl/telnet/telnet/general.h:
Definitions of memcpy, memmove, memset, memcmp clash with system
strings.h declrations.
src/appl/movemail/Imakefile:
Removed $(HESLIBS) and $(HESDEFS). Although I have Hesiod installed,
our version does not define routines such as hes_getmailhost().
I noticed that telnet sets up the DISPLAY environment variable for the
remote login. This breaks .login files which try to ascertain if they
are on an X display using the csh expression "if (${?DISPLAY}) then ...".
Of course this test is not necessary for those of us who use .xsession files
to start up window managers. Unfortunately, this telnet/telnetd change
is likely to be enough of a problem for our user community that I'll want
to not pass the DISPLAY environment variable by default.
PS: I was hoping to start using forwardable kerberos tickets with
telnet/telnetd, but I notice that this has not yet been supported. Do you
plan to add code to telnet/telnetd to implement this?
For your reference, here is the .cf file I used for Ultrix 4.0
(src/config/ultrix40.cf):
/**/# $Source: /afs/athena.mit.edu/astaff/project/krb5/src/config/RCS/ultrix.cf,v $
/**/# $Author: jtkohl $
/**/# $Id: ultrix.cf,v 5.12 91/03/29 11:32:13 jtkohl Exp $
/**/#
/*
* SET VERSION NUMBERS BEFORE MAKING MAKEFILES
*/
#define OSName Ultrix 4.0
#define OS_Ultrix 1
#define OS_TelnetName ultrix4.0 /* see appl/telnet/Makefile.telnet
to select the name for this */
#define OSMajorVersion 4
#define OSMinorVersion 0
#define SystemV NO
#define HasVoidSignalReturn YES
#define HasPosixTermios YES
#define HasPosixFileLocks NO
#define HasPosixTypes YES
#define HasStringH YES
#define HasStdlibH NO
#define HasInet YES
#define HasPutenv YES
#define HasBsearch YES
#define IsPOSIX YES
#define Bitsize32
/* Saber bug doesn't allow deref through const *'s */
#define SaberDefines -Dconst=
#define DefaultCDebugFlags DebuggableCDebugFlags
#undef HasNdbm
#define HasNdbm YES
#ifdef VaxArchitecture
#define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */
#define HasSaberC YES
#define DesDefines -DBIG -DLSBFIRST
#endif
#ifdef MipsArchitecture
#define HasSaberC YES
/*
#undef HasGcc
#define HasGcc YES
*/
#define ArCmd ar cru
#define LintLibFlag -o
#ifdef MIPSEL
#define DesDefines -DBIG -DMUSTALIGN -DLSBFIRST
#else
#ifdef MIPSEB
#define DesDefines -DBIG -DMUSTALIGN -DMSBFIRST
#else /* not MIPSEB */
error: you must figure out what endian your MIPS is!
#endif /* MIPSEB */
#endif /* MIPSEL */
#endif
/**/# platform: $XConsortium: ultrix.cf,v 1.20 89/12/22 15:56:14 rws Exp $
/**/# operating system: OSName