Java GSS: Locate KDC via DNS

Michael Ströder michael at stroeder.com
Tue Mar 25 10:30:45 EDT 2008


HI!

I'm using Java GSS of Java 1.5.0_14 with MS AD. I'd like to avoid setting 
the property java.security.krb5.kdc to specify the KDCs. I'd prefer to let 
JGSS locate the KDCs via DNS. Is this possible with this Java version? I 
tried to switch to using krb5.conf with

[libdefaults]
dns_lookup_kdc = true

leaving [realms] empty.

But this didn't work. (It works with KDC being specified in krb5.conf, so it 
is actually used.)

Ciao, Michael.



More information about the Kerberos mailing list