tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Williams" <ccwillia...@ntlworld.com>
Subject Re: Tomcat and Active Directory
Date Mon, 08 Sep 2003 19:09:00 GMT
Is Active Directory running on your localhost?  Presumably not, so you need
to have "ldap://host_name:port_no/ou=...".

----- Original Message ----- 
From: "Srofe, Douglas (c)" <Douglas.Srofe@NielsenMedia.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, September 08, 2003 7:38 PM
Subject: Tomcat and Active Directory


> I am trying to use the JNDI realm to access our Active Directory.  The
> server.xml entry I have is:
>
>    <Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
>     connectionURL="ldap://ou=migrated
users,ou=nmr,dc=enterprisenet,dc=org"
>     userBase="cn=Users,dc=enterprisenet,dc=org"
>     userSearch="(userPrincipalName={0})"
>     userRoleName="member"
>     roleBase="CN=Users,dc=enterprisenet.org,dc=org"
>     roleName="cn"
>     roleSearch="(member={0})"
>     connectionName="CN=jndildap,CN=Users,DC=enterprisenet.org,DC=org"
>     connectionPassword="Umisvc01"
>     roleSubtree="true"
>     userSubtree="true" />
>
> When I start Tomcat I get
>
> Catalina.start: LifecycleException:  Exception opening directory server
> connecti
> on:  javax.naming.CommunicationException: localhost:389 [Root exception is
> java.
> net.ConnectException: Connection refused: connect]
> LifecycleException:  Exception opening directory server connection:
> javax.namin
> g.CommunicationException: localhost:389 [Root exception is
> java.net.ConnectExcep
> tion: Connection refused: connect]
>
> Does anyone have any idea what may be wrong with this?
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



Mime
View raw message