Re: JNDI Problem

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aurélien, Aurélien Allienne wrote: > member Looks like "member" /is/ the correct attribute. Can you execute that search independently to verify that you're not missing something? I'm trying to establish if LDAPRealm is broken (which is unlikely) or i

Re: JNDI Problem

2007-04-23 Thread Aurélien Allienne
I have this in phpLDAPadmin : * cn * required , rdntomcat admin agenda * member

Re: JNDI Problem

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aurélien, Aurélien Allienne wrote: > roleSearch="(member={0})" Is this correct? Often, members of a group are "uniqueMember" attributes. Can you confirm that similar queries return what you are looking for when you issue them from

JNDI Problem

2007-04-23 Thread Aurélien Allienne
HI, I have a problem with JNDIRealm. I have this context.xml : ldap://ldapmasta:1389"; userBase="ou=people,dc=univ-lille2,dc=fr" userSearch="(supannAliasLogin={0})" roleBase="ou=appli,dc=univ-lille2,dc=fr"

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Mark Thomas
Chris Hampson wrote: > Sorry it v5.5.20 Looking at the source JNDI is up and running well before the load on start-up servlets are loaded so you should be fine. As far as I am aware, no trick is required. I would start with a simple test case in an empty webapp and a clean Tomcat install and see

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Chris Hampson
Sorry it v5.5.20 From: Mark Thomas <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: JNDI problem with Tomcat start-up Date: Sun, 03 Dec 2006 10:51:35 -0500 Chris Hampson wrote: > This is bugging me because i'm almost certain I

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Mark Thomas
Chris Hampson wrote: > This is bugging me because i'm almost certain I have done this before. I > have a servlet which used a JNDI definition of a datasource to connect > to a MySQL database. If I run the servlet by browsing to the URL it is > mapped it all works fine. I am trying to get the servle

JNDI problem with Tomcat start-up

2006-12-03 Thread Chris Hampson
This is bugging me because i'm almost certain I have done this before. I have a servlet which used a JNDI definition of a datasource to connect to a MySQL database. If I run the servlet by browsing to the URL it is mapped it all works fine. I am trying to get the servlet to run on Tomcat startup