[krbdev.mit.edu #8109] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Feb 6 18:44:38 EST 2015


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.

(cherry picked from commit 1776fd19120d230115527febbd22979eb64ee1ff)

https://github.com/krb5/krb5/commit/22252fafbb72653d31e4e9d0027293549e753830
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 22252fafbb72653d31e4e9d0027293549e753830
Branch: krb5-1.11
 src/kdc/main.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list