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,
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,