tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "JNDI HowTo" by StefanBecker
Date Wed, 14 Nov 2007 16:24:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The following page has been changed by StefanBecker:
http://wiki.apache.org/tomcat/JNDI_HowTo

New page:
##language:en
== Lotus Domino ==
{{{
<Realm
   className="org.apache.catalina.realm.JNDIRealm" 
   debug="99"
   connectionURL="ldap://ldap.company.com:389"
   roleSearch="(member={0})" 
   roleName="cn"
   userSearch="(cn={0})" />
}}}

== Oracle Internet Directory (OID) ==
{{{
<Realm
   className="org.apache.catalina.realm.JNDIRealm" 
   debug="99"
   connectionURL="ldap://ldap.company.com:389"
   roleBase="cn=Groups,dc=company,dc=com"
   roleSearch="(uniquemember={0})" 
   roleName="cn"
   userBase="cn=Users,dc=company,dc=com"
   userSearch="(uid={0})" />
}}}

== Microsoft Active Directory ==
{{{
<Realm
   className="org.apache.catalina.realm.JNDIRealm" 
   debug="99"
   connectionURL="ldap://ldap.company.com:3268"
   authentication="simple"
   referrals="follow"
   connectionName="cn=LDAPUser,ou=Service Accounts,dc=company,dc=com"
   connectionPassword="VerySecretPassword" 
   userSearch="(sAMAccountName={0})"
   userBase="dc=company,dc=com" 
   userSubtree="true"
   roleSearch="(member={0})" 
   roleName="cn" 
   roleSubtree="true"
   roleBase="dc=company,dc=com" />
}}}

The port number (3268) connects to the global catalog. This is important because 389 might
throw errors when getting referrals. (It sends a referral to ldap://company.com:389.) With
this setting we don't have to change anything in /etc/hosts.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message