[16041] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #8687] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Jun 12 19:24:13 2018

Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8687@krbdev.mit.edu>
Message-ID: <rt-8687-48620.1.70834648499543@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8687'":;
Date: Tue, 12 Jun 2018 19:24:08 -0400 (EDT)
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


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@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(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post