[krbdev.mit.edu #8687] git commit
Greg Hudson via RT
rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue Jun 12 19:24:08 EDT 2018
Stop using wshelper for SRV/TXT lookups
Add Windows-specific versions of k5_try_realm_txt_rr(),
k5_make_uri_query(), and krb5int_make_srv_query_realm(), bypassing
wshelper and using DnsQuery_UTF8() directly. Windows does not
currently know how to decode URI records and has no interface to allow
the caller to do so, so disable URI lookups on Windows for now.
Add a comment that dnsglue.h is not used on Windows (since DnsQuery
parses out and decodes SRV and TXT records for us), and remove the
header conditionals from it.
https://github.com/krb5/krb5/commit/67de45e349912caccfba73aff6ebda111281e819
Author: Greg Hudson <ghudson at mit.edu>
Commit: 67de45e349912caccfba73aff6ebda111281e819
Branch: master
src/config/win-pre.in | 21 +--------
src/lib/Makefile.in | 2 +-
src/lib/krb5/os/dnsglue.c | 108 ++++++++++++++++++++++++++++++++++----------
src/lib/krb5/os/dnsglue.h | 7 +--
src/lib/krb5/os/dnssrv.c | 79 +++++++++++++++++++++++++++++++-
5 files changed, 164 insertions(+), 53 deletions(-)
More information about the krb5-bugs
mailing list