Jahia DX > Jahia 6.5 LDAP connection...

0 (0 Good)
0 (0 Bad)

Jahia 6.5 LDAP connection with Apache Directory

by  robertito »  2011/06/16 08:14

Hi,

I configured Jahia 6.5 DEMOPACK with Apache Directory LDAP. I can login as an LDAP user, but when I try to see the users from the Administration console as root, I get an exception and only Jahia defined users are shown.

Exception:

2011-06-15 10:03:29,895: WARN  [JahiaUserManagerLDAPProvider] - JNDI warning
javax.naming.NamingException: [LDAP: error code 80 - OTHER: failed for     SearchRequest
        baseDn : 'dc=test,dc=lu'
        filter : '(&(2.5.4.0=person)(|(2.5.4.11=*)(2.5.4.3=*)(2.5.4.10=*)(2.5.4.6=*)(0.9.2342.19200300.100.1.3=*)(0.9.2342.19200300.100.1.1=*)(0.9.2342.19200300.100.1.44=*)(2.5.4.42=*)(2.5.4.4=*)(dn=*)))'
        scope : whole subtree
        typesOnly : false
        Size Limit : 100
        Time Limit : no limit
        Deref Aliases : deref Always
        attributes :
: org.apache.directory.shared.ldap.exception.LdapException: ERR_04274 Cant find an OID for the name {0}]; remaining name 'dc=test,dc=lu'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
    at javax.naming.directory.InitialDirContext.search(Unknown Source)
    at org.jahia.services.usermanager.JahiaUserManagerLDAPProvider.getUsers(JahiaUserManagerLDAPProvider.java:577)
    at org.jahia.services.usermanager.JahiaUserManagerLDAPProvider.getUsers(JahiaUserManagerLDAPProvider.java:461)
    at org.jahia.services.usermanager.JahiaUserManagerLDAPProvider.searchUsers(JahiaUserManagerLDAPProvider.java:983)
    at org.jahia.services.usermanager.JahiaUserManagerRoutingService$9.execute(JahiaUserManagerRoutingService.java:294)
    at org.jahia.services.usermanager.JahiaUserManagerRoutingService.routeCallAll(JahiaUserManagerRoutingService.java:405)
    at org.jahia.services.usermanager.JahiaUserManagerRoutingService.searchUsers(JahiaUserManagerRoutingService.java:292)
    at org.jahia.data.viewhelper.principal.PrincipalViewHelper.getSearchResult(PrincipalViewHelper.java:515)
    at org.jahia.data.viewhelper.principal.PrincipalViewHelper.getSearchResult(PrincipalViewHelper.java:504)
    at org.jahia.admin.users.ManageUsers.displayUsers(ManageUsers.java:261)
    at org.jahia.admin.users.ManageUsers.userRequestDispatcher(ManageUsers.java:159)
    at org.jahia.admin.users.ManageUsers.service(ManageUsers.java:130)
    at org.jahia.bin.JahiaAdministration.userRequestDispatcher(JahiaAdministration.java:339)
    at org.jahia.bin.JahiaAdministration.process(JahiaAdministration.java:218)
    at org.jahia.bin.JahiaAdministration.doGet(JahiaAdministration.java:166)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jahia.bin.filters.PassThroughFilter.doFilter(PassThroughFilter.java:68)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
    at org.jahia.services.seo.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:123)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jahia.bin.filters.jcr.JcrSessionFilter.doFilter(JcrSessionFilter.java:98)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
    at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
    at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
    at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
    at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
    at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
    at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jahia.bin.filters.PassThroughFilter.doFilter(PassThroughFilter.java:68)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jahia.bin.filters.MaintenanceFilter.doFilter(MaintenanceFilter.java:92)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    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:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)

Any help would be appreciated!

Thank you.
Regards,
Robert
 

  (robertito)

Number of messages  13
Registration date
0 (0 Good)
0 (0 Bad)

Re: Jahia 6.5 LDAP connection with Apache Directory

by  robertito »  2011/06/16 14:10

Hi,

I managed to solve the problem :)

I changed the value of property search.wildcards.attributes to "" and now it works fine.

Regards,
Robert

  (robertito)

Number of messages  13
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page