[krbdev.mit.edu #8496] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Sep 19 12:31:09 EDT 2016


Add a master flag to struct server_entry

URI lookups will contain a flag to indicate if the KDC is a master or
normal KDC, so add a master variable to server_entry.  The default
value is -1 and means that the status has not been determined by the
information source.  If the flag is set, use it to avoid a seperate
lookup in k5_kdc_is_master().

Also add a "master" argument to add_host_to_list().  Adjust the
existing calls of add_host_to_list() for the new argument (set to -1
as they are from non-URI lookups).

https://github.com/krb5/krb5/commit/0df76499101d10f71e975e30ba899e63b158792c
Author: Matt Rogers <mrogers at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 0df76499101d10f71e975e30ba899e63b158792c
Branch: master
 src/lib/krb5/os/locate_kdc.c |   12 +++++++++---
 src/lib/krb5/os/os-proto.h   |    1 +
 2 files changed, 10 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list