Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error in Kerberos Auth with windows

843811May 22 2005 — edited May 22 2005
When I run a classical sample code using Kerberos authentication the application exits abnormaly without throwing any exception or error but with the following lines on the console:
Error calling function Protocol status : 1312
FormatMessage failed with 1815

The code runs with error on a win XP PC which is not in a windows domain (for testing purpose, the nominal environment is in a windows domain)

The error seems to be related to the Sun supplied "w2k_lsa_auth" DLL using Microsoft security API.
It happens with J2SK 1.4.2_08 and 1.5.0_02.

Has anyone a solution for detecting that a PC is not in a domain for preventing abnormal exits of the application ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2005
Added on May 22 2005
1 comment
181 views