Skip Menu |
 

Subject: add kerberos-iv SRV support
Add SRV record support for the "kerberos-iv" service.
From: raeburn@mit.edu
Subject: CVS Commit
Export hooks for looking up SRV records, so we can avoid duplicating the code.

* k5-int.h (struct srv_dns_entry): Declare.
(krb5int_make_srv_query_realm, krb5int_free_srv_dns_data): Declare.
(struct _krb5int_access): Add make_srv_query_realm and free_srv_dns_data fields.


To generate a diff of this commit:



cvs diff -r1.371 -r1.372 krb5/src/include/ChangeLog
cvs diff -r1.148 -r1.149 krb5/src/include/k5-int.h
From: raeburn@mit.edu
Subject: CVS Commit
* locate_kdc.c (struct srv_dns_entry): Moved to k5-int.h.
(krb5int_make_srv_query_realm): Renamed from make_srv_query_realm.
(krb5int_free_srv_dns_data): New function.
(krb5_locate_srv_dns_1): Use it.

* accessor.c (krb5int_accessor): Fill in make_srv_query_realm and
free_srv_dns_data fields.


To generate a diff of this commit:



cvs diff -r5.359 -r5.360 krb5/src/lib/krb5/os/ChangeLog
cvs diff -r5.15 -r5.16 krb5/src/lib/krb5/os/accessor.c
cvs diff -r5.78 -r5.79 krb5/src/lib/krb5/os/locate_kdc.c
From: raeburn@mit.edu
Subject: CVS Commit
Checkpoint some working code.
A better solution is in the works, but may or may not make the deadline for
the next beta...

* RealmsConfig-glue.c: Include k5-int.h.
(dnscache): New variable.
(DNS_CACHE_TIMEOUT): New macro.
(krb_get_krbhst) [KRB5_DNS_LOOKUP]: If no krb.conf info is found, try DNS SRV
records for "kerberos-iv". Cache results in case they're immediately requested
again.


To generate a diff of this commit:



cvs diff -r1.185 -r1.186 krb5/src/lib/krb4/ChangeLog
cvs diff -r1.7 -r1.8 krb5/src/lib/krb4/RealmsConfig-glue.c
From: raeburn@mit.edu
Subject: CVS Commit
fix bug: would return krb.conf entries plus dns info

* RealmsConfig-glue.c (krb_get_krbhst): Don't fall back to DNS if entries were
found in krb.conf, and just not enough to fill the request.


To generate a diff of this commit:



cvs diff -r1.186 -r1.187 krb5/src/lib/krb4/ChangeLog
cvs diff -r1.8 -r1.9 krb5/src/lib/krb4/RealmsConfig-glue.c
Good enough for 1.3; try to fix more cleanly for a future release (see
ticket 1583).
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk


To generate a diff of this commit:



cvs diff -r1.348.2.16 -r1.348.2.17 krb5/src/include/ChangeLog
cvs diff -r1.135.2.10 -r1.135.2.11 krb5/src/include/k5-int.h
cvs diff -r1.174.2.10 -r1.174.2.11 krb5/src/lib/krb4/ChangeLog
cvs diff -r1.6.2.1 -r1.6.2.2 krb5/src/lib/krb4/RealmsConfig-glue.c
cvs diff -r5.343.2.6 -r5.343.2.7 krb5/src/lib/krb5/os/ChangeLog
cvs diff -r5.13.2.2 -r5.13.2.3 krb5/src/lib/krb5/os/accessor.c
cvs diff -r5.74.2.1 -r5.74.2.2 krb5/src/lib/krb5/os/locate_kdc.c