Help on Tomcat authentication on Active Directory

E

eyal.rif

Hi,

I need to authenticate my Tomcat on Active Directory information.

I try (looking on java forum and google):
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://myserver:389"
userBase="OU=xxxx Gpo,DC=yyyy-zzz"
userSearch="(sAMAccountName={0})"
userSubtree="true"
userRoleName="sAMAccountName"
/>

i obtain:

2006-04-25 07:58:56 JNDIRealm[Catalina]: Connecting to URL
ldap://myserver:389
2006-04-25 08:00:19 JNDIRealm[Catalina]: Searching for ggggg
2006-04-25 08:00:19 JNDIRealm[Catalina]: base: OU=xxxx
Gpo,DC=yyyy-zzz filter: (sAMAccountName=ggggg)
2006-04-25 08:00:19 JNDIRealm[Catalina]: username not found

Any help/suggestion would be appreciated.....

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top