MIDRANGE dot COM Mailing List Archive



Home » JAVA400-L » October 2009

RE: Java EIM Lookup



fixed

Bill --

1. Can you please send the entire stack trace?
2. Is your java program running on the iSeries or on another platform?
3. What statement in your program are you getting the exception on?
4. Can you please share the portion of your program where you're getting
the exception?
5. Can you please include the output from your sun.security.krb5.debug log?

I'm just trying to understand the context for this exception. It sounds to
me offhand like the EIM is not able to find its EIM domain controller or
that domain controller has not been properly set up but that's just a guess
until I can find out more about what's going on.

Thanks,
Gary

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of java5293@xxxxxxxxxxx
Sent: Wednesday, October 07, 2009 7:45 AM
To: java400-l@xxxxxxxxxxxx
Subject: RE: Java EIM Lookup

Gary,

Thanks for your help. This is the approach I have been trying to take to
authenticating to the EIM for the lookup. I am currently getting what
appears to be an authentication error:

com.ibm.eim.jndi.DomainJNDI:connect: failed to connect to initial
directory
context. Root exception class=class
javax.naming.AuthenticationException.Root exception text=GSSAPI.

The step I have taken:

-Use the windows lsa to get a tgt
-Request a service ticket from the kdc (active directory) for the service
that was setup when following the EIM redbook installation instructions.
-Pass this ticket to the eim for authentication

All java documentation I have seen from IBM have a hard coded admin dn and
password for lookups but the documentation states this can be performced
from any authenticated user.

Again, thanks for your help.


--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact