]> git.ipfire.org Git - thirdparty/krb5.git/commit
Enable KDC discovery through DNS URI records
authorMatt Rogers <mrogers@redhat.com>
Mon, 18 Jul 2016 16:13:55 +0000 (12:13 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 19 Sep 2016 15:30:26 +0000 (11:30 -0400)
commitc75596d01e7c78d38d0889a1a77145269ac724b2
tree430d5d15214cba7d944b8480f7c900ee46ac14f8
parentf1c9394b9a7fc237a405943c8f4b0f5fac03be4b
Enable KDC discovery through DNS URI records

Add the dns_locate_server_uri(), locate_uri(), and parse_uri_fields()
functions to find and process KDC service information from specially
formatted URI records detailed at
http://k5wiki.kerberos.org/wiki/Projects/KDC_Discovery

Search for URI records before searching for SRV records.  Rename
dns_locate_server() to dns_locate_server_srv() for consistency.  Add
URI-specific information to the t_locate_kdc host entry output.

ticket: 8496
src/lib/krb5/os/locate_kdc.c
src/lib/krb5/os/t_locate_kdc.c