hm, probably not right now...I'll have to provide for that in the plexus ldap helper.
I tested this against a setup where I had a utility user that I used for that initial bind operation and at the time wasn't able to get the apacheds unit testing working so the number of scenarios I could test against was limited. I'll definitely have to make a test for this though now that I have that ability again. If you like open a redback issue for this at http://jira.codehaus.org/browse/REDBACK to track progress on it. I am also going to put the configuration bits for ldap into the security.properties as well since its a bit bothersome to have to set those things up in the application.xml like it is currently. jesse On 9/26/07, Cla Emanuel Monsch <[EMAIL PROTECTED]> wrote: > > hi there, > > is it possible to use ldap without bindDN/password? (anonyous bind) > > with the config bellow i got the following error: > > <configuration> > <hostname>********</hostname> > <port>389</port> > <baseDn>dc=netcetera,dc=ch</baseDn> > <contextFactory>com.sun.jndi.ldap.LdapCtxFactory</contextFactory> > <password></password> > <bindDn></bindDn> > </configuration> > > <configuration> > <email-attribute>description</email-attribute> > <full-name-attribute>gecos</full-name-attribute> > <password-attribute>userPassword</password-attribute> > <user-id-attribute>uid</user-id-attribute> > <user-base-dn>dc=netcetera,dc=ch</user-base-dn> > <user-object-class>inetOrgPerson</user-object-class> > </configuration> > > > INFO | jvm 1 | 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127 > [SocketListener0-1] WARN ConfigurationFactory - No > configuration found. Configuring ehcache fr > om ehcache-failsafe.xml found in the classpath: > jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3 > /apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc > ache-failsafe.xml > INFO | jvm 1 | 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244 > [SocketListener0-1] INFO LdapController:default - Searching for > user: guest > INFO | jvm 1 | 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245 > [SocketListener0-1] INFO LdapController:default - Searching for > users with filter: '(&(objectCla > ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch > INFO | jvm 1 | 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265 > [SocketListener0-1] ERROR DispatcherUtils - Could not > find action > INFO | jvm 1 | 2007/09/26 14:23:30 | Caught Exception while > registering Interceptor class redbackEnvironmentCheckInterceptor - > Class: org.codehaus.plexus.redback.xwor > k.checks.security.GuestUserEnvironmentCheck > INFO | jvm 1 | 2007/09/26 14:23:30 | File: > GuestUserEnvironmentCheck.java > INFO | jvm 1 | 2007/09/26 14:23:30 | Method: validateEnvironment > INFO | jvm 1 | 2007/09/26 14:23:30 | Line: 100 - > > org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1 > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor( > PlexusObjectFactory.java:152) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference > (InterceptorBuilder.java:56) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference > (XmlConfigurationProvider.jav > a:701) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack > (XmlConfigurationProvider.java:568) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks > (XmlConfigurationProvider.java:581 > ) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors > (XmlConfigurationProvider.java:602) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage > (XmlConfigurationProvider.java:204) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile > (XmlConfigurationProvider.java:675 > ) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile > (XmlConfigurationProvider.java:678 > ) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init( > XmlConfigurationProvider.java:91) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.xwork.config.impl.DefaultConfiguration.reload( > DefaultConfiguration.java:86) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.xwork.config.ConfigurationManager.getConfiguration( > ConfigurationManager.java:55) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java > :60) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy( > DefaultActionProxyFactory.java:46) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction( > DispatcherUtils.java:264) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter( > FilterDispatcher.java:202) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( > WebApplicationHandler.java:821) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage( > PageFilter.java:118) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter( > PageFilter.java:52) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( > WebApplicationHandler.java:821) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter( > ActionContextCleanUp.java:88) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( > WebApplicationHandler.java:821) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch( > WebApplicationHandler.java:471) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.http.HttpContext.handle(HttpContext.java:1530) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.jetty.servlet.WebApplicationContext.handle( > WebApplicationContext.java:633) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.http.HttpContext.handle(HttpContext.java:1482) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.http.HttpServer.service(HttpServer.java:909) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.http.HttpConnection.service(HttpConnection.java:816) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) > INFO | jvm 1 | 2007/09/26 14:23:30 | Caused by: > java.lang.NullPointerException > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > org.codehaus.plexus.redback.xwork.checks.security.GuestUserEnvironmentCheck.validateEnvironment > (GuestUserEnvironmentChec > k.java:100) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > > org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.init > (EnvironmentCheckInterceptor.java:77) > INFO | jvm 1 | 2007/09/26 14:23:30 | at > org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor( > PlexusObjectFactory.java:119) > INFO | jvm 1 | 2007/09/26 14:23:30 | ... 33 more > INFO | jvm 1 | 2007/09/26 14:23:35 | 2007-09-26 14:23:35,857 > [SocketListener0-1] ERROR ActionComponent - Could not > execute action: /WEB-INF/jsp/error/c > ompanyInfo > INFO | jvm 1 | 2007/09/26 14:23:35 | Caught Exception while > registering Interceptor class redbackEnvironmentCheckInterceptor - > Class: org.codehaus.plexus.redback.xwor > k.checks.security.GuestUserEnvironmentCheck > INFO | jvm 1 | 2007/09/26 14:23:35 | File: > GuestUserEnvironmentCheck.java > INFO | jvm 1 | 2007/09/26 14:23:35 | Method: validateEnvironment > INFO | jvm 1 | 2007/09/26 14:23:35 | Line: 100 - > > org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1 > > > > > > > > > > > > Emmanuel Venisse wrote: > > Let us know how it works for you. As it is a new feature, we'd like to > > have some feedback. > > > > Emmanuel > > > > Emmanuel Venisse a écrit : > >> Better with html: http://redback.codehaus.org/integration/ldap.html > >> > >> Emmanuel > >> > >> olivier lamy a écrit : > >>> Hi, > >>> > http://svn.codehaus.org/redback/redback/trunk/redback-site/src/site/apt/integration/ldap.apt > >>> > >>> > >>> -- > >>> Olivier > >>> > >>> 2007/9/26, Cla Emanuel Monsch <[EMAIL PROTECTED]>: > >>>> hi there, > >>>> > >>>> looks nice. especially the "working copy browsing" catched my eye at > a > >>>> first view. :-) > >>>> > >>>> does anybody know, where this file > >>>> ( > >>>> > http://svn.codehaus.org/plexus/plexus-redback/trunk/redback-site/src/site/apt/integration/ldap.apt > >>>> > >>>> ) > >>>> has moved to? > >>>> > >>>> cheers > >>>> cla > >>>> > >>>> > >>>> > >>>> Emmanuel Venisse wrote: > >>>>> The Continuum team is pleased to announce the Continuum > >>>>> 1.1-beta-3release > >>>>> > >>>>> Highlights are: > >>>>> > >>>>> * lot of bug fixes > >>>>> * xwork/webwork update to fix remote code exploit in forms > >>>>> * mail notification to latest committers > >>>>> * LDAP authentication > >>>>> * performance improvement > >>>>> > >>>>> You can grab the latest release from: > >>>>> > >>>>> http://maven.apache.org/continuum/download.html > >>>>> > >>>>> To upgrade from 1.1-beta-2, you can look at this guide: > >>>>> > http://maven.apache.org/continuum/guides/mini/guide-data-management.html > >>>>> > >>>>> > >>>>> Below is the jira release notes for this release. > >>>>> > >>>>> Release Notes - Continuum - Version 1.1-beta-3 : > >>>>> > >>>>> Sub-task > >>>>> > >>>>> * [CONTINUUM-1441] - Keep connection on irc server between each > >>>>> messages > >>>>> > >>>>> Bug > >>>>> > >>>>> * [CONTINUUM-697] - sizes incompatible with mssql (Patch > Attached) > >>>>> * [CONTINUUM-1037] - Ant projects inherit a default build > >>>>> definition > >>>>> for Maven 2. > >>>>> * [CONTINUUM-1038] - Build definitions should list what type > they > >>>>> are (ant, maven, maven2, shell) > >>>>> * [CONTINUUM-1041] - two defaults on the build definition page > >>>>> * [CONTINUUM-1181] - Continuum aborts when running Postgres > under > >>>> JBoss > >>>>> * [CONTINUUM-1296] - Continuum 1.1-alpha-1 does not copy Maven2 > >>>>> project pom.xml's /project/build/defaultGoal/text() value to Build > >>>>> Definition Goals field. > >>>>> * [CONTINUUM-1306] - templated roles are not added > >>>>> automatically if > >>>>> missing after upgrade > >>>>> * [CONTINUUM-1325] - Surefire Report history is not kept for > prior > >>>>> builds > >>>>> * [CONTINUUM-1348] - jut of memory in build result > >>>>> * [CONTINUUM-1367] - granting group admin rights for a single > >>>>> project doesn't seem to work > >>>>> * [CONTINUUM-1384] - Build error when enqueing happens during > SCM > >>>>> update > >>>>> * [CONTINUUM-1391] - Missing "Download as text " link > >>>>> * [CONTINUUM-1393] - change sets are duplicated on multiple > failed > >>>>> builds > >>>>> * [CONTINUUM-1395] - check the permissions on the add project > >>>>> action > >>>>> for ant projects > >>>>> * [CONTINUUM-1404] - M2 Multi module projects still build > >>>>> non-recursively > >>>>> * [CONTINUUM-1411] - Link to display build surefire report > doesn't > >>>>> work (in fact displaying surefire report per build is false) > >>>>> * [CONTINUUM-1412] - File Inclusion Vulnerability > >>>>> * [CONTINUUM-1415] - Javascript errors with IE > >>>>> * [CONTINUUM-1417] - continuum group administrator role should > >>>>> imply > >>>>> user + developer too > >>>>> * [CONTINUUM-1418] - Groups Roles aren't added automatically at > >>>>> startup in the available roles list if the users list was deleted > >>>>> * [CONTINUUM-1420] - "Build Fresh" and Profile columns are > >>>>> missed in > >>>>> group build definitions page for specific project build definitions > >>>>> * [CONTINUUM-1423] - Default project group is missing from the > >>>>> list > >>>>> * [CONTINUUM-1428] - Continuum must rebuild automatically a > >>>>> project > >>>>> that was in error in the previous build even if it haven't > >>>>> changesin the > >>>>> current update > >>>>> * [CONTINUUM-1429] - Initial checkout does not respect 'Use > cached > >>>>> scm credentials' setting > >>>>> * [CONTINUUM-1435] - Release prepare not working > >>>>> * [CONTINUUM-1439] - Group Summary page display error > >>>>> * [CONTINUUM-1445] - Impossible to add two projects with the > same > >>>>> name even if they have differents version and/or scmUrl > >>>>> * [CONTINUUM-1448] - upgrade to last webwork/xwork > >>>>> > >>>>> Improvement > >>>>> > >>>>> * [CONTINUUM-406] - irc notifications: support for registered > >>>>> nicks > >>>>> * [CONTINUUM-522] - IRC support needed for IRC servers not > >>>>> supporting /privmsg > >>>>> * [CONTINUUM-1093] - After validation, logged in user is shown > the > >>>>> login page > >>>>> * [CONTINUUM-1218] - Automatically determine correct POM file > >>>>> location in Build Definition when checking out from SCMs like > >>>>> ClearCase > >>>>> * [CONTINUUM-1278] - Need to add description and/or name to > build > >>>>> defintion > >>>>> * [CONTINUUM-1279] - Need to add "Build Information" to the > build > >>>>> result reports and notification. > >>>>> * [CONTINUUM-1333] - show in project group summary per project > >>>>> also > >>>>> the status counters (as they are shown on the project groups pages) > >>>>> * [CONTINUUM-1366] - surefire report shown is always latest, > even > >>>>> with a different build number > >>>>> * [CONTINUUM-1394] - continuum should not record change sets > >>>>> when it > >>>>> is a new checkout > >>>>> * [CONTINUUM-1396] - Continuum should have a separate > >>>>> permission to > >>>>> administer schedules > >>>>> * [CONTINUUM-1409] - A build does not say which build > >>>>> definition it > >>>>> came from > >>>>> * [CONTINUUM-1422] - The icon for 'Cancel Build' is missing > >>>>> from the > >>>>> legend > >>>>> * [CONTINUUM-1424] - Ability to Cancel Build for a subset of a > >>>>> project group > >>>>> * [CONTINUUM-1425] - URL in Company Pom should open in a new > >>>>> Window > >>>>> * [CONTINUUM-1427] - Ability to choose the build definition for > >>>>> 'Build all projects' and 'Build Project(s)' > >>>>> * [CONTINUUM-1430] - Split forms for environment variables and > >>>>> Ant/Maven/JDK installations > >>>>> * [CONTINUUM-1440] - write documentation how to use > >>>>> continuum-data-management > >>>>> * [CONTINUUM-1443] - Add an 'Always build' checkbox in 'build > >>>>> definition' > >>>>> * [CONTINUUM-1444] - IRC and Jabber notifiers accept invalid > >>>>> ports. > >>>>> * [CONTINUUM-1446] - Webwork Performance Tuning > >>>>> * [CONTINUUM-1455] - In a project's working directory it would > be > >>>>> nice to see a date and time... > >>>>> * [CONTINUUM-1478] - Place a "Check All / Check None" checkbox > for > >>>>> projects > >>>>> > >>>>> New Feature > >>>>> > >>>>> * [CONTINUUM-358] - User Authentication via LDAP > >>>>> * [CONTINUUM-605] - Add a RecipientSource that derives addresses > >>>>> from the change list > >>>>> * [CONTINUUM-1207] - Need to be able to define default build > >>>>> definition used when adding new project > >>>>> > >>>>> Task > >>>>> > >>>>> * [CONTINUUM-1386] - Some data management modules use always > >>>>> plexus-security dependencies instead of redback > >>>>> * [CONTINUUM-1447] - To fix /bin/bash issue on some platform, > >>>>> update > >>>>> plexus-utils to 1.4.6 > >>>>> > >>>>> Wish > >>>>> > >>>>> * [CONTINUUM-622] - Configure default build description > >>>>> * [CONTINUUM-1167] - Patch to add JBoss support > >>>>> > >>>>> > >>>> -- > >>>> Cla Emanuel Monsch | [EMAIL PROTECTED] > >>>> phone +41-44-247 79 06 | fax +41-44-247 70 75 > >>>> Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch > >>>> > >>>> > >>> > >>> > >> > >> > >> > > -- > Cla Emanuel Monsch | [EMAIL PROTECTED] > phone +41-44-247 79 06 | fax +41-44-247 70 75 > Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch > > -- jesse mcconnell [EMAIL PROTECTED]