[207] in Kerberos-V5-bugs

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

Bug fix for appl/new-telnet.

daemon@ATHENA.MIT.EDU (Rocky - Rakesh Patel)
Thu Oct 24 01:37:06 1991

Date: Thu, 24 Oct 1991 01:38:04 -0400 (EDT)
From: Rocky - Rakesh Patel <rapatel@theophilus.rutgers.edu>
To: krb5-bugs@Athena.MIT.EDU
Cc: rapatel@hardees.rutgers.edu



Hi..   this may already have been fixed by now, if not, here it is.
Building appl/new-telnet using krb5 support, there is a problem in
which authentication will always fail  (I'm running under SunOS 4.1.1,
on a Sparc 2) due to incorrect arguements to krb5_mk_req_extended.
Patch to appl/new-telnet/libtelnet/kerberos5.c:

*** kerberos5.c.ORIG	Mon Mar 25 17:14:19 1991
--- kerberos5.c	Thu Oct 24 01:19:27 1991
***************
*** 228,236 ****
  		return(0);
  	}
  
! 	r = krb5_mk_req_extended(0, &ksum, &creds.times,
! 				 krb5_kdc_default_options,
! 				 ccache, &creds, 0, &auth);
  
  	free(name);
  	krb5_free_host_realm(realms);
--- 228,235 ----
  		return(0);
  	}
  
! 	r = krb5_mk_req_extended(0, &ksum, krb5_kdc_default_options,
! 				 0,0,ccache, &creds, 0, &auth);
  
  	free(name);
  	krb5_free_host_realm(realms);

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