[krbdev.mit.edu #6709] patch against trunk/src/kdc/main.c for more logging info
Jeff Blaine via RT
rt-comment at krbdev.mit.edu
Sat Apr 24 13:55:23 EDT 2010
Log more stuff, it only happens once per process start...
Index: src/kdc/main.c
===================================================================
--- src/kdc/main.c (revision 23930)
+++ src/kdc/main.c (working copy)
@@ -670,6 +670,7 @@
argv[0], optarg);
exit(1);
}
+ krb5_klog_syslog (LOG_INFO, "initialized realm %s",
optarg);
kdc_realmlist[kdc_numrealms] = rdatap;
kdc_numrealms++;
free(db_args), db_args=NULL, db_args_size = 0;
@@ -789,6 +790,8 @@
com_err(argv[0], retval, "while initializing KDC replay cache
'%s'",
rcname);
exit(1);
+ } else {
+ krb5_klog_syslog (LOG_INFO, "initialized replay cache");
}
#endif
@@ -971,7 +974,7 @@
}
krb5_klog_syslog(LOG_INFO, "commencing operation");
if (nofork)
- fprintf(stderr, "%s: starting...\n", kdc_progname);
+ fprintf(stderr, "%s: starting without forking...\n", kdc_progname);
if ((retval = listen_and_process(0, kdc_progname,
reset_for_hangup))) {
kdc_err(kcontext, retval, "while processing network requests");
errout++;
More information about the krb5-bugs
mailing list