AnsweredAssumed Answered

LDAP auth: Could not resolve view with name 'user/[x]'

Question asked by karypid on May 2, 2010
Latest reply on May 10, 2010 by karypid
Hello,

I'm a first-time user of Alfresco.

I've set up version 3.3 (community) successfully and configured LDAP authentication using an OpenLDAP installation as a provider. I test my setup by trying to login to Alfresco Share. Thinks work fine (authentication succeeds when I use an account defined in LDAP), but certain accounts that contain the dot/period ( '.' ) fail immediately after login with:

javax.servlet.ServletException: Could not resolve view with name 'user/[x] in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

[x] is the part of the username that preceeds the period/dot. For example, if the username was 'str1.str2' whould give: Could not resolve view with name 'user/str1 in servlet with name 'Spring Surf Dispatcher Servlet'

For accounts whose username is a simple string (e.g. 'somestr'), there is no error and user dashboard is displayed.

I tried setting the ldap.authentication.escapeCommasInBind and ldap.authentication.escapeCommasInUid but that didn't help. Any ideas how I can get around this? Most accounts have a "firstname.lastname" format as their uid attribute so the vast majority of users would have to change their username.

Outcomes