[PATCH] for bug 2376501: Krb5LoginModule config class does not return proper KDC list from DNS
sgehwolf at redhat.com
Tue Nov 6 07:08:31 PST 2012
In Config.java, line 1234 in method getKDCFromDNS(String realm) there is
a loop which discards earlier values of KDCs returned rather than
concatenating them. This results in a behaviour where only one KDC in a
seemingly random fashion is returned. In fact, the KDC returned depends
on the order which KrbServiceLocator.getKerberosService(realm, "_udp")
returns the servers. The correct behaviour should be to return a String
containing ALL KDCs available via DNS (separated by spaces).
The webrev is here:
Comments and suggestions very welcome!
More information about the distro-pkg-dev