[krbdev.mit.edu #8687] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[krbdev.mit.edu #8687] git commit

Norm Green via RT

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.

Author: Greg Hudson <[hidden email]>
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(-)

krb5-bugs mailing list
[hidden email]