Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Testing Java Kerberos configuration

When I ran the test your java kerberos configuration I got this

kinit.exe servact password (command)

Exception: krb_error 0 Cannot get kdc for realm servname.ad No error

KrbException: Cannot get kdc for realm swatfame.ad

at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:133)

at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:106)

at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.

at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:23

at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)

what does this mean.. did i setup correctly? or is there something wrong?

replied

if a successful kinit happens there will be no errors and a ticket will be received by the client (username in kinit)

The work flow is a little easier to interpret if you type kinit username then enter and type the password. If you type kinit username password in the same line and it works you won't receive the ticket message.

-Tim

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question