AnsweredAssumed Answered

Problems with SSO on Share 3.4.d

Question asked by catar4 on May 29, 2014
Latest reply on Sep 22, 2014 by catar4

I'm having some issues with SSO connection on /share context on my community 3.4.d installation. I have searched and read many posts on the forums and the Internet at large … this has helped me advance on troubleshooting but I haven't yet succeeded in solving all issues, so here I am with a few questions.

First of all, let me start by saying we are able to connect using SSO on the /alfresco context. We can also connect using a local (ntlm) account by accessing the login page at localhost/alfresco/faces/jsp/login.jsp and this is exactly what we'd like to be also able to do on /share.

The fact that we are able to connect with SSO on /alfresco tells me my config is correct (or really close to what it should be to be able to achieve the same thing on /share). I followed the documentation at since I have read here on the forums that the documentation found at might not be exact.

Here's the relevant content of the tomcat/shared/classes/ file:


Properties for alfrescoNtlm authentication subsystem (tomcat/shared/classes/alfresco/subsystems/Authentication/alfrescoNtlm/


This is so users found in the database but not in the Active Directory server can still connect (read this is how it would be done on these forums).

Properties for the passthru authentication subsystem (tomcat/shared/classes/alfresco/subsystems/Authentication/passthru/


Now, here's what I get in the logs when we try to connect to share by SSO:

08:29:26,221 DEBUG [app.servlet.NTLMAuthenticationFilter] New NTLM auth request from ( SID:1DA58053185F21A44110DA836696E47E
08:29:26,311 DEBUG [app.servlet.NTLMAuthenticationFilter] Received type1 [Type1:0xa2088207,Domain:<NotSet>,Wks:<NotSet>]
08:29:26,313 DEBUG [app.servlet.NTLMAuthenticationFilter] Client domain null
08:29:26,519 DEBUG [app.servlet.NTLMAuthenticationFilter] Sending NTLM type2 to client - [Type2:0x80000203,Target:alfresco-test,Ch:e3df93be10a17660]
08:29:26,526 DEBUG [app.servlet.NTLMAuthenticationFilter] Received type3 [Type3:,LM:000000000000000000000000000000000000000000000000,NTLM:81a3ec8433bf84ca775cb84039371cef01010000000000000c38706b397bcf01ec59fc6e2ea5d155000000000200200061006c00660072006500730063006f002d006700650072006d00610069006e000000000000000000,Dom:DOMAIN,User:jade.thomassin,Wks:PGGQC122]
08:29:26,527 ERROR [app.servlet.NTLMAuthenticationFilter] Client PGGQC122 using NTLMv2 logon, not valid with passthru authentication

This *seems* to be a normal error using NTLMv2 with Alfresco SSO. After some research, I have found we could try to change Group Policies in Windows 7 to try and correct this NTLMv2 behavior, since as I understand the ERROR I get is a normal one knowing NTLMv2 doesn't like the "man in the middle like" authentication method for alfresco share. So we change Group Policies, following the procedure from this blog:, and here's what I see in the logs after we tested this:

11:35:38,939 http-80-8 DEBUG [site.servlet.SSOAuthenticationFilter] Processing request /share/page/site/domain/dashboard SID:AE55A1D5BE398B10936AEAA4EF1F732B
11:35:38,940 http-80-8 DEBUG [site.servlet.SSOAuthenticationFilter] Received type3 [Type3:,LM:af21bda735c5426ae3c466b1b8080b4ba8b6be47286d4844,NTLM:af21bda735c5426ae3c466b1b8080b4ba8b6be47286d4844,Dom:DOMAIN,User:charles.bureau,Wks:CACASWL0016]
11:35:38,941 User:charles.bureau DEBUG [app.servlet.NTLMAuthenticationFilter] Received type3 [Type3:,LM:af21bda735c5426ae3c466b1b8080b4ba8b6be47286d4844,NTLM:af21bda735c5426ae3c466b1b8080b4ba8b6be47286d4844,Dom:DOMAIN,User:charles.bureau,Wks:CACASWL0016]
11:35:39,069 User:charles.bureau DEBUG [app.servlet.NTLMAuthenticationFilter] Authentication failed, 04290002 Logon failure

The same user is able to connect SSO on /alfresco, this is when he tries to access /share.

Would anyone have any idea of what's going on here ? If the configuration is good (being able to connect to /alfresco makes me thing it is) I would expect /share to work the same way.

Thanks in advance for your help,