tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: how to configue tomcat ldap 2008
Date Wed, 19 Jan 2011 22:45:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jill,

On 1/19/2011 4:56 PM, Jill Han wrote:
> Here is the snippet of server.xml 
> 
> <Realm className="org.apache.catalina.realm.JNDIRealm"
>               debug="99"

debug isn't a valid attribute on any supported version of Tomcat. What
version are you using?

>               connectionName="userName@some.college.edu"
>               connectionPassword="userPass"
>               connectionURL="ldap://some.college.edu:389"

So these credentials still work in the new installation?

>               referrals="follow"
>               userBase="dc=some,dc=college,dc=edu"
>               userSearch="(sAMAccountName={0})"
>               userRoleName="memberof"
>               roleBase="dc=some,dc=college,dc=edu"
>               roleName="cn"
>               roleSearch="(uniqueMember={0})"
>               userSubtree="true"
>               roleSubtree="false" 

Have you tested your query independently of Tomcat to see if it matches
anything?

> It is working on 2003 server. However when the server is upgraded to
> window 2008, it is not working anymore.
> 
> Any suggestions?

What do the log files say?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk03aXcACgkQ9CaO5/Lv0PBOvACfbMbEFH+JxwlrEulx68NKe0OM
I1cAnAn5Yp82TQM2lXe+rXVu5xWIFqYL
=aYzD
-----END PGP SIGNATURE-----

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


Mime
View raw message