+Tue Jun 27 18:14:33 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
+
+ * srv_main.c (main): Rearrange code so that we ask for the master key *before* we detach from the controlling terminal. This causes the Kerberos context to be initialized in the parent before the fork; I'm not sure if this is acceptable or not.
Tue Jun 27 16:02:24 EDT 1995 Paul Park (pjpark@mit.edu)
* srv_net.c, srv_acl.c, proto_serv.c - Add signal name parameter to
usage(argv[0]);
return(1);
}
+ krb5_init_context(&kcontext);
+ krb5_init_ets(kcontext);
+ krb5_klog_init(kcontext, "admin_server", programname, 1);
+ error = key_init(kcontext, debug_level, enc_type, key_type,
+ master_key_name, manual_entry, db_file, db_realm,
+ keytab_name);
#ifndef DEBUG
/*
#else /* DEBUG */
programname = argv[0];
#endif /* DEBUG */
- krb5_init_context(&kcontext);
- krb5_init_ets(kcontext);
- krb5_klog_init(kcontext, "admin_server", programname, 1);
if ((signal_number =
#if POSIX_SETJMP
/*
* Initialize our modules.
*/
- error = key_init(kcontext, debug_level, enc_type, key_type,
- master_key_name, manual_entry, db_file, db_realm,
- keytab_name);
if (!error) {
error = acl_init(kcontext, debug_level, acl_file);
if (!error) {