continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Gomes <rgomes1...@yahoo.co.uk>
Subject Failed to find 'guest' user in OpenLDAP
Date Mon, 05 Jan 2009 00:48:10 GMT
Hi,

Continuum on LDAP is failing to find 'guest' user from OpenLDAP.

This is my test search:

$ ldapsearch -D cn=admin,dc=jquantlib,dc=org -W -x -b ou=People,dc=jquantlib,dc=org '(&(objectClass=inetOrgPerson)(cn=guest))'
cn=guest
Enter LDAP Password:

   1. extended LDIF
      #
   2. LDAPv3
   3. base <ou=People,dc=jquantlib,dc=org> with scope subtree
   4. filter: (&(objectClass=inetOrgPerson)(cn=guest))
   5. requesting: cn=guest
      #

   1. nobody, people, jquantlib.org
      dn: uid=nobody,ou=people,dc=jquantlib,dc=org

   1. search result
      search: 2
      result: 0 Success

   1. numResponses: 2
   2. numEntries: 1

[ Show ยป ]
Richard Gomes added a comment - 04/Jan/09 06:23 PM $ ldapsearch -D cn=admin,dc=jquantlib,dc=org
-W -x -b ou=People,dc=jquantlib,dc=org '(&(objectClass=inetOrgPerson)(cn=guest))' cn=guest
Enter LDAP Password:

   1. extended LDIF #
   2. LDAPv3
   3. base <ou=People,dc=jquantlib,dc=org> with scope subtree
   4. filter: (&(objectClass=inetOrgPerson)(cn=guest))
   5. requesting: cn=guest #

   1. nobody, people, jquantlib.org dn: uid=nobody,ou=people,dc=jquantlib,dc=org

   1. search result search: 2 result: 0 Success

   1. numResponses: 2
   2. numEntries: 1



These are my application.xml, security.properties and some documentation in progress:
http://www.jquantlib.org/public/java/apache-continuum/1.2.2/application.xml
http://www.jquantlib.org/public/java/apache-continuum/1.2.2/security.properties
http://www.jquantlib.org/index.php/LazyAdminContinuum


This is the stacktrace:

2009-01-05 00:22:12,194 [http-8080-1] INFO  environmentCheck#continuum-role-profile-check
 - Checking roles list.
2009-01-05 00:22:12,224 [http-8080-1] INFO  environmentCheck#required-roles  - Checking the
existence of required roles.
2009-01-05 00:22:12,245 [http-8080-1] INFO  ldapController  - Searching for user: guest
2009-01-05 00:22:12,245 [http-8080-1] INFO  ldapController  - Searching for users with filter:
'(&(objectClass=inetOrgPerson)(cn=guest))' from base dn: ou=People,dc=jquantlib,dc=org
2009-01-05 00:22:12,249 [http-8080-1] ERROR com.opensymphony.webwork.dispatcher.DispatcherUtils
 - Could not find action
Caught Exception while registering Interceptor class redbackEnvironmentCheckInterceptor -
interceptor - file:/srv/users/www-data/apache-tomcat-6.0.18/webapps/continuum/WEB-INF/classes/xwork-security.xml:31:87
        at com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:171)
        at com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:56)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:701)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:568)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:581)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:602)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:204)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:675)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:678)
        at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
        at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
        at com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
        at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60)
        at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
        at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:264)
        at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.searchUsers(DefaultLdapController.java:129)
        at org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.getUser(DefaultLdapController.java:181)
        at org.codehaus.plexus.redback.users.ldap.LdapUserManager.findUser(LdapUserManager.java:214)
        at org.codehaus.plexus.redback.users.configurable.ConfigurableUserManager.findUser(ConfigurableUserManager.java:111)
        at org.codehaus.plexus.redback.xwork.checks.security.GuestUserEnvironmentCheck.validateEnvironment(GuestUserEnvironmentCheck.java:82)
        at org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.init(EnvironmentCheckInterceptor.java:77)
        at com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:151)
        ... 34 more
2009-01-05 00:22:12,341 [http-8080-1] INFO  environmentCheck#continuum-role-profile-check
 - Checking roles list.
2009-01-05 00:22:12,401 [http-8080-1] INFO  ldapController  - Searching for user: guest
2009-01-05 00:22:12,401 [http-8080-1] INFO  ldapController  - Searching for users with filter:
'(&(objectClass=inetOrgPerson)(cn=guest))' from base dn: ou=People,dc=jquantlib,dc=org
2009-01-05 00:22:12,401 [http-8080-1] ERROR com.opensymphony.webwork.components.ActionComponent
 - Could not execute action: /WEB-INF/jsp/error/companyInfo
Caught Exception while registering Interceptor class redbackEnvironmentCheckInterceptor -
interceptor - file:/srv/users/www-data/apache-tomcat-6.0.18/webapps/continuum/WEB-INF/classes/xwork-security.xml:31:87

Could anyone tell me what is wrong?

Thanks

Richard Gomes
http://www.jquantlib.org/index.php/User:RichardGomes

Mime
View raw message