[1308] in Kerberos-V5-bugs

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

kdc does not initialize the krb5_context...

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Mon Mar 27 14:45:23 1995

From: epeisach@MIT.EDU
Date: Mon, 27 Mar 1995 14:45:03 -0500
To: krb5-bugs@MIT.EDU


This was discovered because of my change where the default realm is
stored in the context structure. Needless to say, the server would not
work and reported the error loudly...

	Ezra

Index: main.c
===================================================================
RCS file: /mit/krb5/.cvsroot/src/kdc/main.c,v
retrieving revision 5.47
diff -c -r5.47 main.c
*** main.c	1995/03/24 22:28:05	5.47
--- main.c	1995/03/27 19:38:23
***************
*** 435,440 ****
--- 435,442 ----
      if (strrchr(argv[0], '/'))
  	argv[0] = strrchr(argv[0], '/')+1;
  
+     krb5_init_context(&kdc_context);
+ 
      setup_com_err();
  
      openlog(argv[0], LOG_CONS|LOG_NDELAY|LOG_PID, LOG_LOCAL6); /* XXX */

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