]> git.ipfire.org Git - thirdparty/krb5.git/commit
Stop using wshelper for SRV/TXT lookups
authorGreg Hudson <ghudson@mit.edu>
Sun, 3 Jun 2018 20:41:18 +0000 (16:41 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 12 Jun 2018 22:55:33 +0000 (18:55 -0400)
commit67de45e349912caccfba73aff6ebda111281e819
treecf1d62315ad9c67359afd05d574ba3a8e1d48477
parentc3b2dc0041918128dceedaf21ad718465e759e63
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.

ticket: 8687
src/config/win-pre.in
src/lib/Makefile.in
src/lib/krb5/os/dnsglue.c
src/lib/krb5/os/dnsglue.h
src/lib/krb5/os/dnssrv.c