Alfresco
  1. Alfresco
  2. ALF-5821

Edit Online does not work with Office 2010

    Details

    • Type: Documentation Documentation
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4.b Community
    • Component/s: Sharepoint protocol
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      Alfresco 3.4.b community, Windows server 2008 x64, tomcat 6.0.26, Office2010 on WinXP

      Description

      In Alfresco Share clicking on "Edit Online" works for Word2003 and Word2007 but not Word2010. IN Word2010, the program opens but does not display log in dialog or open the document. Instead Word just opens displaying nothing.

      Recreate:
      1. Log into Share;
      2. Create some site;
      3. Goto document library;
      4. Upload some MS Office document (e.g. doc/docx);
      5. Click "Edit online" in actions;
      6. Word opens with no document loaded or login dialog displayed;

      Expected:
      5. Click "Edit Online" in actions;
      6. Log in dialog opens
      7. Type user name and pass
      8. Word document opens
      9. Edit and save Word document

        Activity

        Hide
        Michael Thomas added a comment -

        I was able to get this to work by adding ldap passthru authentication.
        I followed the below directions. I'm not sure how much is needed and how much is extraneous for getting the word2010 document to properly open but it appeared to be an authentication issue. This is the begining of the authentication mechanism for Active Directory synchronizing.

        "Edit file \Alfresco\tomcat\shared\classes\alfresco-global.properties and modify:

        authentication.chain=passthru1:passthru,ldap-ad1:ldap-ad

        Then, create the file \Alfresco\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\passthru\passthru1\changes.properties and put the following inside:

        passthru.authentication.useLocalServer=false
        passthru.authentication.domain=

        1. (domain specific property): NetBIOS name of your domain and
        2. domain controller’s IP address, add more separated by commas
          passthru.authentication.servers=DOMAIN
          192.168.0.1,192.168.0.1
          ntlm.authentication.sso.enabled=true
          alfresco.authentication.allowGuestLogin=false
          ntlm.authentication.mapUnknownUserToGuest=false
          passthru.authentication.authenticateCIFS=true
          passthru.authentication.authenticateFTP=false
          passthru.authentication.guestAccess=false
        3. (domain specific property): list of usernames from AD
        4. that are to be Alfresco administrators
          passthru.authentication.defaultAdministratorUserNames=AD_username1,AD_username2

        Next, edit \Alfresco\tomcat\webapps\share.war\WEB-INF\web.xml:

        <filter>
        <filter-name>Authentication Filter</filter-name>
        <filter-class>org.alfresco.web.site.servlet.NTLMAuthenticationFilter</filter-class>
        <init-param>
        <param-name>endpoint</param-name>
        <param-value>alfresco</param-value>
        </init-param>
        </filter>

        <filter-mapping>
        <filter-name>Authentication Filter</filter-name>
        <url-pattern>/page/*</url-pattern>
        </filter-mapping>

        <filter-mapping>
        <filter-name>Authentication Filter</filter-name>
        <url-pattern>/p/*</url-pattern>
        </filter-mapping>

        <filter-mapping>
        <filter-name>Authentication Filter</filter-name>
        <url-pattern>/s/*</url-pattern>
        </filter-mapping>

        Copy and rename the file \Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml.sample to \tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml then edit it and make sure the following section is uncommented:

        <!–
        NTLM authentication config for Share
        NOTE: you will also need to enable the NTLM authentication filter in Share web.xml
        change localhost:8080 below to appropriate alfresco server location if required
        –>
        <config evaluator="string-compare" condition="Remote">
        <remote>
        <connector>
        <id>alfrescoCookie</id>
        <name>Alfresco Connector</name>
        <description>Connects to an Alfresco instance using cookie-based authentication</description>
        <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class>
        </connector>

        <endpoint>
        <id>alfresco</id>
        <name>Alfresco – user access</name>
        <description>Access to Alfresco Repository WebScripts that require user authentication</description>
        <connector-id>alfrescoCookie</connector-id>
        <endpoint-url>http://localhost:8080/alfresco/wcs</endpoint-url>
        <identity>user</identity>
        <external-auth>true</external-auth>
        </endpoint>
        </remote>
        </config>

        If Share is not on the same server as Alfresco then edit the endpoint-url to match your configuration.

        Single Sign On via Active Directory should be fully functional now for Alfresco Explorer and Alfresco Share."

        Show
        Michael Thomas added a comment - I was able to get this to work by adding ldap passthru authentication. I followed the below directions. I'm not sure how much is needed and how much is extraneous for getting the word2010 document to properly open but it appeared to be an authentication issue. This is the begining of the authentication mechanism for Active Directory synchronizing. "Edit file \Alfresco\tomcat\shared\classes\alfresco-global.properties and modify: authentication.chain=passthru1:passthru,ldap-ad1:ldap-ad Then, create the file \Alfresco\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\passthru\passthru1\changes.properties and put the following inside: passthru.authentication.useLocalServer=false passthru.authentication.domain= (domain specific property): NetBIOS name of your domain and domain controller’s IP address, add more separated by commas passthru.authentication.servers=DOMAIN 192.168.0.1,192.168.0.1 ntlm.authentication.sso.enabled=true alfresco.authentication.allowGuestLogin=false ntlm.authentication.mapUnknownUserToGuest=false passthru.authentication.authenticateCIFS=true passthru.authentication.authenticateFTP=false passthru.authentication.guestAccess=false (domain specific property): list of usernames from AD that are to be Alfresco administrators passthru.authentication.defaultAdministratorUserNames=AD_username1,AD_username2 Next, edit \Alfresco\tomcat\webapps\share.war\WEB-INF\web.xml: <filter> <filter-name>Authentication Filter</filter-name> <filter-class>org.alfresco.web.site.servlet.NTLMAuthenticationFilter</filter-class> <init-param> <param-name>endpoint</param-name> <param-value>alfresco</param-value> </init-param> </filter> <filter-mapping> <filter-name>Authentication Filter</filter-name> <url-pattern>/page/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>Authentication Filter</filter-name> <url-pattern>/p/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>Authentication Filter</filter-name> <url-pattern>/s/*</url-pattern> </filter-mapping> Copy and rename the file \Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml.sample to \tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml then edit it and make sure the following section is uncommented: <!– NTLM authentication config for Share NOTE: you will also need to enable the NTLM authentication filter in Share web.xml change localhost:8080 below to appropriate alfresco server location if required –> <config evaluator="string-compare" condition="Remote"> <remote> <connector> <id>alfrescoCookie</id> <name>Alfresco Connector</name> <description>Connects to an Alfresco instance using cookie-based authentication</description> <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class> </connector> <endpoint> <id>alfresco</id> <name>Alfresco – user access</name> <description>Access to Alfresco Repository WebScripts that require user authentication</description> <connector-id>alfrescoCookie</connector-id> <endpoint-url> http://localhost:8080/alfresco/wcs </endpoint-url> <identity>user</identity> <external-auth>true</external-auth> </endpoint> </remote> </config> If Share is not on the same server as Alfresco then edit the endpoint-url to match your configuration. Single Sign On via Active Directory should be fully functional now for Alfresco Explorer and Alfresco Share."
        Hide
        dward added a comment - - edited

        For the docs: To use the share 'edit online' functionality on Windows 7 you need to set BasicAuthLevel in the registry as above, or use passthru or kerberos authentication. No need to edit web.xml as above in 3.4. As far as I know, this is Windows 7 specific rather than Office 2010 specific.

        Show
        dward added a comment - - edited For the docs: To use the share 'edit online' functionality on Windows 7 you need to set BasicAuthLevel in the registry as above, or use passthru or kerberos authentication. No need to edit web.xml as above in 3.4. As far as I know, this is Windows 7 specific rather than Office 2010 specific.
        Hide
        Briana Wherry added a comment -

        for 3.4 Enterprise

        Show
        Briana Wherry added a comment - for 3.4 Enterprise
        Hide
        Helen Mullally added a comment -

        Fixed for 3.4/3.4.c

        Show
        Helen Mullally added a comment - Fixed for 3.4/3.4.c
        Hide
        Briana Wherry added a comment -

        Completed and added to 3.4.c install and config

        Show
        Briana Wherry added a comment - Completed and added to 3.4.c install and config

          People

          • Assignee:
            Briana Wherry
            Reporter:
            Michael Thomas
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h