[2388] in Kerberos

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

Kadmind patch.

daemon@ATHENA.MIT.EDU (Ruixi Yuan)
Mon Nov 23 12:12:18 1992

Date: Mon, 23 Nov 92 10:46:51 CST
From: yuan@syl.dl.nec.com	(Ruixi Yuan)
To: kdrenard@BRL.MIL
Cc: kerberos@Athena.MIT.EDU

From kdrenard@BRL.MIL Mon Nov 23 08:23:03 1992
>
>	Sorry, I don't have any fixes for rlogin for you at this time, it's
>next on my list.  I would like to know what you have done to kadmin/kpasswd
>to keep its head above water.  I have already replaced "exit"s in kadmind
>with "continues" to keep the server from dying after a successfully
>completing a request.  I am quite disappointed that no network "cleanup"
>is attempted by kpasswd upon error ("finish:").  When you do not validate
>you new password correctly, kpasswd ends and lets the server die (errno 10).
>I haven't looked deep enough into the "Program lacks support for keytype..."
>error yet.  Have you conquered these problems yet, are there others?  Any
>help would be greatly appreciated.
>
>Ken Renard
>U.S. Army Research Lab
>ACISD-HPCCB
>

 I solved this problem by correcting a simple mem allocation 
 error in kadmin/server/adm_funcs.c, the diffs between the corrected 
 version and original version is: 
 
 196c196
 <       memset((char *) entry, 0, sizeof(*entry));
 ---
 >       memset((char *) &entry, 0, sizeof(entry));
 
 As for kpasswd, someone posted a patch before, the diffs for kpasswd.c is:

 153c153
 <     if (!my_keyblock) {
 ---
 >     if (!*key) {

 As for the kadmind server exiting problem, I didn't seem to have this 
 problem yet. 

 --- Ruixi Yuan, MTS
     NEC Systems Lab.
     yuan@syl.dl.nec.com

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