[2948] in Release_Engineering

home help back first fref pref prev next nref lref last post

[jik@pit-manager.MIT.EDU: rt 7.4G: Kerberos V4 in source tree]

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Nov 10 13:37:22 1992

Date: Tue, 10 Nov 92 13:37:04 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bug-kerberos@Athena.MIT.EDU, rel-eng@Athena.MIT.EDU


----- Forwarded message
Date: Tue, 10 Nov 92 13:17:56 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
Sender: jik@pit-manager.MIT.EDU
To: bugs@Athena.MIT.EDU
Subject: rt 7.4G: Kerberos V4 in source tree

System name:		pit-manager
Type and version:	RTPC-ROMPC 7.4G
Display type:		apa16
			megapel

What were you trying to do?
	Compile Kerberos V4 from the Athena source tree, on a system
	without AFS installed.

What's wrong:
	The login program in appl/bsd always tries to use AFS.

What should have happened:
	Whether or not AFS is available, and if so where, should be
	configurable in config.Imakefile.

Please describe any relevant documentation references:
	The patch below fixes this.

*** 4.28	1992/08/15 15:00:46
--- appl/bsd/login.c	1992/11/03 21:13:39
***************
*** 115,122 ****
  #define gid_type int
  #endif /* UIDGID_T */
  
  #define SETPAG
!     
  #define	TTYGRPNAME	"tty"		/* name of group to own ttys */
  
  #define	MOTDFILE	"/etc/motd"
--- 115,124 ----
  #define gid_type int
  #endif /* UIDGID_T */
  
+ #ifdef AFS
  #define SETPAG
! #endif
! 
  #define	TTYGRPNAME	"tty"		/* name of group to own ttys */
  
  #define	MOTDFILE	"/etc/motd"
*** 4.8	1992/07/17 18:16:53
--- appl/bsd/Imakefile 1992/11/03 21:14:10
***************
*** 32,41 ****
  #endif
  
  DEFINES= $(RCP) $(RLOGIN) $(RSH) \ @@\
!  	-DLOGIN_PROGRAM=\"$(DAEMDIR)/login.krb\"
  
! AFSLIBS= /usr/local/lib/afs/libauth.a /usr/local/lib/afs/libsys.a
! 
  
  #ifdef _IBMR2
  MACHLIBS= -ls
--- 32,46 ----
  #endif
  
  DEFINES= $(RCP) $(RLOGIN) $(RSH) \ @@\
!  	-DLOGIN_PROGRAM=\"$(DAEMDIR)/login.krb\" $(AFSFLAGS)
  
! #ifdef HAVE_AFS
! AFSLIBS= $(AFSLIBDIR)/libauth.a $(AFSLIBDIR)/libsys.a
! AFSFLAGS= -DAFS
! #else
! AFSLIBS=
! AFSFLAGS=
! #endif
  
  #ifdef _IBMR2
  MACHLIBS= -ls
*** 4.44	1992/11/03 20:54:53
--- util/imake.includes/config.Imakefile	1992/11/03 21:11:08
***************
*** 102,107 ****
--- 102,115 ----
  SLASHBINDIR=/bin
  #endif
  UCBDIR=/usr/ucb
+ 
+ /*
+  * Define HAVE_AFS, and set AFSLIBDIR to point to the directory
+  * containing your AFS libauth and libsys libraries, if you want to
+  * use the AFS support in this distribution.
+  */
+ #define HAVE_AFS
+ AFSLIBDIR = /usr/local/lib/afs
  
  /*
   * Define LOCAL_LIBS if the libss and libcom_err libraries (and supporting

----- End of forwarded message

home help back first fref pref prev next nref lref last post