[krbdev.mit.edu #7945] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Fri Jun 27 16:17:53 EDT 2014


Fix KDC worker process argument parsing

To create worker processes, the KDC shuts down realms, forks off the
worker processes, then reinitializes realms in each child.
Reinitializing realms requires making a second pass over the
command-line arguments.  To do this with getopt, optind must be
reinitialized to 1 for each pass; otherwise, no options will be seen
the second time around.

https://github.com/krb5/krb5/commit/1776fd19120d230115527febbd22979eb64ee1ff
Author: Greg Hudson <ghudson at mit.edu>
Commit: 1776fd19120d230115527febbd22979eb64ee1ff
Branch: master
 src/kdc/main.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list