RE: JNDI Realm and Active Directory root search

2006-11-02 Thread Zsolt Koppany
Matt, what do you mean with 'referrals="follow"' ? Is that a jndi configuration option ? Zsolt > -Original Message- > From: Matt Warren [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 01, 2006 6:24 PM > To: Tomcat Users List > Subject: Re: J

Re: JNDI Realm and Active Directory root search

2006-11-01 Thread Velpi
When searching LDAP from the root, you will get a referral reply from AD that has a server DNS name of JUST the domain name (ie company.com). NOT the initial server name you used in your connectionURL. one small remark: "company.com" in your post is what you chose as root object for your AD wh

Re: JNDI Realm and Active Directory root search

2006-11-01 Thread Matt Warren
With that lead, I figured out what was going on. Two issues: - referrals="follow" is required if you search from the top of an ldap tree instead of a specific OU. That property is not documented in Tomcat docs as it might be: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JNDIRealm Wit

Re: JNDI Realm and Active Directory root search

2006-11-01 Thread Velpi
I'm trying to get a JNDI Realm working as one might expect with Active Directory. Tomcat 5.5.20 Java 1.5.06 Windows 2000 Server The basic issue is that searching from a domain root "dc=company,dc=com" and using userSubtree="true" results in: Oct 31, 2006 3:18:20 PM org.apache.catalina.realm.JND

JNDI Realm and Active Directory root search

2006-10-31 Thread Matt Warren
I'm trying to get a JNDI Realm working as one might expect with Active Directory. Tomcat 5.5.20 Java 1.5.06 Windows 2000 Server The basic issue is that searching from a domain root "dc=company,dc=com" and using userSubtree="true" results in: Oct 31, 2006 3:18:20 PM org.apache.catalina.realm.JNDI