AnsweredAssumed Answered

Shared accounts / simultaneous login

Question asked by matt.bennett on Dec 1, 2011
Hello,

We are running a copy of community 3.3 and experiencing some problems with intermittent login failures.

We have (perhaps foolishly) set up a couple of shared accounts - locally created within Share - which are used by multiple IPs/browsers simultaneously. This is perhaps against the spirit of a collaboration site, but managing every user account individually is a pain we'd rather avoid, and the shared accounts are read-only (the standard 'consumer' role), so we're not concerned about editing clashes.

We did test simultaneous logins in a limited fashion (just a couple of us), but it seems likely that the sporadic failures we're seeing now are related to that. Our authentication chain is AlfrescoNTLM -> LDAP-AD, and we've never experienced any problems with non-shared LDAP logins.

What I'm seeing in catalina.out is this:

10:43:13,262  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 11010001 Login failed
org.springframework.extensions.webscripts.WebScriptException: 11010001 Login failed
   at org.alfresco.repo.web.scripts.bean.AbstractLoginBean.login(AbstractLoginBean.java:75)
   at org.alfresco.repo.web.scripts.bean.LoginPost.executeImpl(LoginPost.java:73)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:231)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:257)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:307)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:178)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   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.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.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:857)
   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(Thread.java:662)

Which doesn't give me much insight, so I have two questions:

Firstly, are simultaneous logins with the same (AlfrescoNTLM) user explicitly unsupported?

Secondly, how can I get more specific logging about what's going wrong?

Many thanks indeed,

Matt.

Outcomes