AnsweredAssumed Answered

Share will not Authenticate

Question asked by smcardle on Mar 26, 2012
Latest reply on Mar 26, 2012 by smcardle
Hi All…

Bit of an issue here and it's doing my head in. Running Alfresco 4.0.d community….. NO SSO….

Alfresco repo running on an Ubuntu server /JBoss 4 at http://alfresco-server:28080/alfresco

I can connect to this from any browser on any machine on my network :) Log in OK as admin, guest and any other user I create. Ping works fine etc, etc, etc….

Share running on one of my local VM's (XP for testing in this instance) running on Tomcat 6.0.35. 
I have copied the share-config-custom.xml.sample to <tomcat>/shared/classes/alfresco/web-extension/share-config-custom.xml and I have un-commented the following section and changed the server name and port references accordingly.

  <config evaluator="string-compare" condition="Remote">
      <remote>
         <endpoint>
            <id>alfresco-noauth</id>
            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://alfresco-server:28080/alfresco/s</endpoint-url>
            <identity>none</identity>
         </endpoint>

         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://alfresco-server:28080/alfresco/s</endpoint-url>
            <identity>user</identity>
         </endpoint>

         <endpoint>
            <id>alfresco-feed</id>
            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
            <connector-id>http</connector-id>
            <endpoint-url>http://alfresco-server:28080/alfresco/s</endpoint-url>
            <basic-auth>true</basic-auth>
            <identity>user</identity>
         </endpoint>
      </remote>
   </config>


I have the following configuration for the authentication chain in the alfresco-global.properties file on the remote alfresco-server.

authentication.chain=alfrescoNtlm1:alfrescoNtlm

Result ::::: Share cannot log in to the remote repo. I just get the error "Failed to login" - "The remote server may be unavailable or your authentication details have not been recognized"

There are no errors in any of the log files (Server Log or Alfresco Log), either on my local machine or on the Remote alfresco-server machine. I have searched the net… scoured the forum…. And I even have the latest Alfresco Share book from Packt…. GRRRRRR….


What am I doing wrong ? — What have I missed ? — Any and all ideas welcome…

Best regards

Steve

Outcomes