fredag 10 juli 2009

Alfresco - setup a test environment

Alfresco is not that easy to configure! There are lots of settings in a whole bunch of direcotories and files! So how do I set up this to use AD login?

So I thought I'd share with you a quick way to set up a test environment. This is probably not the best solution for a permanent setup. Anyway, here are the steps to follow:

Install Win 2003 and connect it to your domain.

Download and install the free Alfresco-Communit-2.3-Full-Setup from http://wiki.alfresco.com/wiki/Download_Community_Edition.

Change in file C:\Alfresco\tomcat\shared\classes\alfresco-global-properties
  • Change from authentication.chain=alfrescoNtlm1:alfrescoNtlm to authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru
Change in file C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\passthru\passthru-authentication-context.properties
  • Set passthru.authentication.useLocalServer to true.
  • Set passthru.authentication.domain to your domain.
Change in file C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\passthru\ntlm-filter.properties
  • Set ntlm.authentication.sso.enabled to false.
Finally start Alfresco Server through the start menu and enter http://hostname:8080/alfresco after the Tomcat console window has printed the text Server startup in xxxxxx ms.