cancel
Showing results for 
Search instead for 
Did you mean: 

Share will not Authenticate

smcardle
Champ in-the-making
Champ in-the-making
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 Smiley Happy 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
1 REPLY 1

smcardle
Champ in-the-making
Champ in-the-making
Well do I feel stupid or what Smiley Happy))

I installed a new instance of Tomcat 6 and of course that does not have a shared/classes directory. However, Alfresco uses this directory to override configurations, so I just created one.

This is not enough Smiley Sad I forgot to add the path to the the catalina.properties shared.loader property. GRRRRR…

Anyway, this is documented for Alfresco on the Wiki at http://wiki.alfresco.com/wiki/Install_Tomcat6 and I should have remembered doing this previously…. (Note to self "must document better in future"). After configuring this all is good in the land of Content Smiley Happy

Steve