Hi, I'm trying to use referrals="follow" in the JNDIRealm in order to make it work against Active Directory, but it's not working, I' receiving the exception below (I'm supposing the AD process is broken).
Also I've found that the JNDI tutorial says that referrals="follow" doesn't work for AD: http://java.sun.com/products/jndi/tutorial/ldap/referral/jndi.html


Somebody knows if referrals="follow" is working with Active Directory? if somebody has it working, please send me the version of AD you're using.

Thanks in advance

P.S. Sorry if this message arrives duplicated, I sent it yesterday but I don't see it on the mailing list.

2004-03-03 09:01:31 JNDIRealm[Standalone]: Exception performing authentication
javax.naming.PartialResultException. Root exception is javax.naming.CommunicationException: neptuno:389. Root exception is java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:181)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:119)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2528)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:275)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:173)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:134)


at com.sun.jndi.url.ldap.ldapURLContextFactory.getObjectInstance(ldapURLContextFactory.java:35)

at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:579)
at javax.naming.spi.NamingManager.processURL(NamingManager.java:361)
at javax.naming.spi.NamingManager.processURLAddrs(NamingManager.java:341)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
at com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:93)
at com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:132)


at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(LdapNamingEnumeration.java:334)

at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:207)

at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:170)

at org.apache.catalina.realm.JNDIRealm.getUserBySearch(JNDIRealm.java:1036)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to