Re: FW: JNDIRealm and roleNested

2010-01-27 Thread TahitianGabriel
Mark, I've opened a bug : https://issues.apache.org/bugzilla/show_bug.cgi?id=48629 https://issues.apache.org/bugzilla/show_bug.cgi?id=48629 I've also attached a patch that fixed the problem. Regards, Gabriel. Mark Thomas wrote: > > Please do. Also, if you are able to test any patch produce

Re: FW: JNDIRealm and roleNested

2010-01-27 Thread TahitianGabriel
Should I take the sources files from the http://svn.apache.org/repos/asf/tomcat/trunk/ trunk or the http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/ tc6.0.x branche ? Mark Thomas wrote: > > On 26/01/2010 19:45, TahitianGabriel wrote: >> >> Hi Mark, >> &

Re: FW: JNDIRealm and roleNested

2010-01-26 Thread TahitianGabriel
Hi Mark, Tomcat 6.0.24 has been released and the roleNested="true" still doesn't work with roleSearch="(member={1})" Shall I open a bug in https://issues.apache.org/bugzilla bugzilla ? regards, Gabriel. -- View this message in context: http://old.nabble.com/JNDIRealm-and-roleNested-tp2475

Re: Tomcat 6.0.24 empty logs with windows (not flushed?)

2010-01-26 Thread TahitianGabriel
I've found that it's a known bug : https://issues.apache.org/bugzilla/show_bug.cgi?id=48614 https://issues.apache.org/bugzilla/show_bug.cgi?id=48614 I should have looked in bugzilla before :-). adding the following lines in the logging.properties (under the conf directory) solve the problem :

Tomcat 6.0.24 empty logs with windows (not flushed?)

2010-01-26 Thread TahitianGabriel
I've just migrated my tomcat 6.0.18 to 6.0.24 under windows. When I start tomcat, the log files are created under the $catalina_home\logs directory. But they are empty (catalina.log, localhost.log, ...). My tomcat server start correctly and the logs are displayed in the console. After a while so

Re: FW: JNDIRealm and roleNested

2009-10-28 Thread TahitianGabriel
Hi, It's working great with roleSearch="(member={0})", but not with roleSearch="(member={1})" >From tomcat doc : Use {0} to substitute the distinguished name (DN) of the user, and/or {1} to substitute the username. I guess line : filter = roleFormat.format(new String[] { groupDN }); should be