[2582] in Kerberos

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

Sandia Version5

daemon@ATHENA.MIT.EDU (Glenn NoI Machin)
Fri Feb 19 17:50:32 1993

Date: Fri, 19 Feb 93 15:34:14 MST
From: gmachin@somnet.sandia.gov (Glenn NoI Machin)
To: kerberos@Athena.MIT.EDU


I have received a number of "changes" which people have sent
me concerning the kerberos version 5 source Sandia put
out on lorien.ocf.llnl.gov.   I want to pass them on to anyone
who has started or is looking at it........


Date: Feb 19 1993

Changes 1-3 have to do with those sites who undefine MACH_PASS
and do not do machine generated passwords.

1)  include/krb5/adm_defs.h

  	Move the line
            #define ADM_MAX_PHRASE_LENGTH   101
  	outside of #ifdef MACH_PASS boundary ( move line 55 to line 59 )

2)  kadmin/server/adm_adm_func.c kadmin/server/adm_nego.c

	Change the lines
	    if defined(MACH_PASS) || defined(SANDIA)
	    	to
	    if defined(MACH_PASS)

3)  kadmin/server/adm_adm_func.c

	Change the line
	    #if !defined(MACH_PASS) && !defined(SANDIA)
	      to
	    #if !defined(MACH_PASS)

4)   appl/kftp/server/glob.c

	Comment out the line  
		free(av); 
        in routine blkfree(av0) ~line 622

	Symptoms without change:
	The kftpd would crash when a client kftp
	would perform an "ls -l *" . The client would see that
	the service was not available and close the connection.
	Only Suns:SunOs 4.1 seemed to show these symptoms.

5)  kadmin/server/adm_funcs.c

	Change line 301 :
	krb5_db_free_principal(&newentry, &one);
			to
	krb5_db_free_principal(&newentry, one);


	Symptoms without change:
	This was causing problems when kadmin was used to add a
	principal. The principal was added successfully but kadmind
	was promptly crashing (The child that is). 

6)  com_err/error_table.y

	For AIX only.....

	Change lines
	    #ifdef aix
	    #define MB_CUR_MAX           (__lc_charmap->cm_mb_cur_max)
	    #endif

	   to

	    #ifdef aix
	    #include <stdlib.h>
	    #endif

	Symptoms:
		For AIX compile_et will not compile......




********************** End Changes ******************************



Please let me know of anything else you find......



  Glenn


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