[6010] in Kerberos

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

Re: telnet95 for windows?

daemon@ATHENA.MIT.EDU (Joe Ramus)
Mon Oct 16 17:03:08 1995

Date: Mon, 16 Oct 95 14:00:32 PDT
From: ramus@nersc.gov (Joe Ramus)
To: ccjason@quadrophenia.ucdavis.edu, hartmans@MIT.EDU
Cc: kerberos@MIT.EDU, krb5-bugs@MIT.EDU


>> Date: Mon, 16 Oct 1995 15:21:50 EDT
>> From: Sam Hartman <hartmans@MIT.EDU>
>> Content-Length: 2768
>> 
>> >>>>> "Jason" == Jason Gabler <ccjason@quadrophenia.ucdavis.edu> writes:
>> 
>>     Jason> : Brian> message: Warning: No Kerberos tickets obtained.

>> 
>> 	Under Kerberos V, login.krb5 is brain-damaged.  It will print
>> this message even if tickets are forwarded successfully. This is especially broken 
>> when you consider that login.krb5 is not actually ever capable of obtaining krb5
>> tickets.  We hope to fix this by the release of Kerberos V 1.0.

I fixed the "brain-damaged" behavior.  It is a rather simple patch.
I hope that MIT will fix this problem in the next release of the K5 source code.


*** appl/bsd/login.c.orig	Fri Apr 28 17:36:13 1995
--- appl/bsd/login.c	Tue Sep 12 10:46:09 1995
***************
*** 875,880 ****
--- 875,881 ----
  	setenv("PATH", LPATH, 0);
  	setenv("USER", pwd->pw_name, 0);
  	setenv("SHELL", pwd->pw_shell, 0);
+ 	setenv("LOGNAME", pwd->pw_name, 0);
  
  	if (term[0] == '\0')
  		(void) strncpy(term, stypeof(tty), sizeof(term));
***************
*** 941,947 ****
  		struct stat st;
  
  #ifdef KRB4
! 		if (!krbflag)
  		    printf("\nWarning: No Kerberos tickets obtained.\n\n");
  #endif /* KRB4 */
  		motd();
--- 942,948 ----
  		struct stat st;
  
  #ifdef KRB4
! 		if (!krbflag && !fflag && !Fflag && !eflag )
  		    printf("\nWarning: No Kerberos tickets obtained.\n\n");
  #endif /* KRB4 */
  		motd();

----------------------------------------------------------------
| Joe Ramus  NERSC Livermore  (510) 423-8917   ramus@nersc.gov |
----------------------------------------------------------------

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