Hi,

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:
http://jerboaa.fedorapeople.org/bugs/openjdk/2376501/webrev/

Comments and suggestions very welcome!

Thanks,
Severin

Reply via email to