javax.naming.NamingException:

Hi,

I have a java program which uses jaas. When i try to connect to Active directory server to a domain i'm getting the error javax.naming.NamingException.

But the same java program works when i try to connect to ADS in other domain. What might be the problem?

Is there any security setting options in Windows which is not letting me to access the users in the domain?

Regards,

leosmoky1980

[430 byte] By [leosmoky1980a] at [2007-10-2 7:57:32]
# 1

You are probably using hard coded domain or distinguished names, that work in one domain, but not in another and the naming exceptions are thrown. You may also be receiving continuation referrals.

Refer to JNDI, Active Directory, Referrals and Global Catalog

http://forum.java.sun.com/thread.jspa?threadID=603815&tstart=15

for some information that may help you understand multiple domain issues.

adler_stevena at 2007-7-16 21:48:02 > top of Java-index,Core,Core APIs...