User Tools

Site Tools


forum:alfresco:basic-configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

forum:alfresco:basic-configuration [2008/05/19 13:27]
andreas
forum:alfresco:basic-configuration [2023/11/19 22:46] (current)
Line 5: Line 5:
 Result of the basic configuration will be an Alfresco system with following features: Result of the basic configuration will be an Alfresco system with following features:
  
-  *  +  * User management injected from an Active Directory 
 +  * Single sign on with InternetExplorer 
 +  * Direct edit of of documents by clicking the ''​Edit''​ button.
  
  
Line 12: Line 13:
  
 This basic configuration starts with a fresh system installed like in [[forum:​alfresco:​installation]]. This basic configuration starts with a fresh system installed like in [[forum:​alfresco:​installation]].
- 
  
 Most settings and configurations can be managed outside of the ''​alfresco.war''​ deployment. Others must be done within that folder. This of course results in a complex update procedure because instead of simply replace the ''​alfresco.war''​ by a new version you have to redo all these steps inside the ''​alfresco.war''​ folder to continue with the same environment as prior the update. Most settings and configurations can be managed outside of the ''​alfresco.war''​ deployment. Others must be done within that folder. This of course results in a complex update procedure because instead of simply replace the ''​alfresco.war''​ by a new version you have to redo all these steps inside the ''​alfresco.war''​ folder to continue with the same environment as prior the update.
Line 31: Line 31:
 ===== Repository Properties ===== ===== Repository Properties =====
   - Copy ''<​default>/​repository.properties''​ to\\ ''<​extension>/​custom-repository.properties''​   - Copy ''<​default>/​repository.properties''​ to\\ ''<​extension>/​custom-repository.properties''​
-  - Copy ''​custom-repository-context.xml.sample''​ from the ''​extensions'' ​folders ​inide the\\ ''​alfresco-community-war-2.9.0B''​ to ''<​extension>/​custom-repository-context.xml''​.+  - Copy ''​custom-repository-context.xml.sample''​ from the ''​extensions'' ​folder ​inide the\\ ''​alfresco-community-war-2.9.0B''​ to ''<​extension>/​custom-repository-context.xml''​.
   - Comment the Hibernate part inside the ''<​extension>/​custom-repository-context.xml''​. Otherwise the Spring Framework will not start.   - Comment the Hibernate part inside the ''<​extension>/​custom-repository-context.xml''​. Otherwise the Spring Framework will not start.
   - Set ''​root.dir''​ to /​usr/​share/​alfresco/​.alf_data. ((Of course another folder in the filesystem is possible...))   - Set ''​root.dir''​ to /​usr/​share/​alfresco/​.alf_data. ((Of course another folder in the filesystem is possible...))
Line 56: Line 56:
   * [[http://​wiki.alfresco.com/​wiki/​CIFS_Server_Authentication|CIFS Server Authentication]]   * [[http://​wiki.alfresco.com/​wiki/​CIFS_Server_Authentication|CIFS Server Authentication]]
   * [[http://​wiki.alfresco.com/​wiki/​File_Server_Configuration|File Server Configuration]]   * [[http://​wiki.alfresco.com/​wiki/​File_Server_Configuration|File Server Configuration]]
 +
 +
 ==== Setup ==== ==== Setup ====
-  - Copy ''<​default>​file-servers.xml''​ to ''<​extension>​file-servers-custom.xml''​\\. +  - Copy ''<​default>​file-servers.xml''​ to ''<​extension>​file-servers-custom.xml''​\\ 
-  - In +  - In ''<​extension>​file-servers-custom.xml''​ remove all config blocks exept 
 +    * CIFS Server 
 +    * Filesystems 
 +    * Filesystem Security 
 +  - Set the ''​replace="​true"''​ attribut in these config tags 
 +  - Set hostname, filesystem name, webpath and authenticator type=Alfresco 
 +  - Activate the desktopActions 
 + 
 +===== Automatic OOo service start ===== 
 + 
 +In the default configuration the OOo service for document transformation is started separately in a shell script. 
 +The idea is of course to handle this service by Alfresco itself during the bootstrap routine. 
 + 
 +==== References ==== 
 + 
 + 
 +==== Setup ==== 
 +DOESN'​T WORK!!! 
 +FIXME 
 +  - Copy ''​openoffice-startup-context.xml''​ from the\\ ''/​usr/​share/​alfresco/​install-extensions''​ folder to ''<​extension>/​bootstrap''​ 
 +  - Correct paths, remove quotings in ''​openoffice-startup-context.xml''​ 
 + 
 + 
 +===== Email Sending ===== 
 +  - If neccessary for authentication create a account on the SMTP server. 
 +  - Setup email properties in ''<​extension>/​custom-repository.properties''​ 
 +  - Setup ''​from-email-address''​ in ''<​extension>/​web-client-config-custom.xml''​ 
 +  - If you encounter problems when connecting to the smtp server check this bug [[https://​issues.alfresco.com/​jira/​browse/​ETHREEOH-559|ETHREEOH-559]] 
 + 
 +===== Email Receiving ===== 
 + 
 +==== References ==== 
 +  * [[http://​wiki.alfresco.com/​wiki/​Email_Server_Configuration]] 
 + 
 +==== Setup ==== 
 +  - Copy ''<​default>/​emailserver/​email-server.properties''​ to\\ ''<​extension>/​custom-email-server.properties''​ 
 +  - Copy ''<​default>/​emailserver/​email-server-context.xml''​ to\\ ''<​extension>​custom-email-server-context.xml''​ 
 +  - Add custom properties file in the location setting of ''​custom-email-server-context.xml''​ 
 +  - Edit domain, port, allowed senders and enable in the properties file 
 +  - Set aliases and aspects on some spaces 
 + 
 +==== TODO ==== 
 +FIXME 
 +  * Receive mails with all metadata fields (From, To, CC, Subject, etc.) 
 +  * Enable Assoziations between Emails and their attachments. 
 +  * Enable ''​Answer'',​ ''​Anser all'',​ ''​Forward''​ actions on Email documents 
 + 
 +===== Setup Authentication ===== 
 + 
 +==== References ==== 
 +  * [[http://​217.174.252.22/​viewtopic.php?​f=9&​t=7750&​st=0&​sk=t&​sd=a&​start=15]] 
 +  * [[http://​wiki.alfresco.com/​wiki/​Configuring_the_CIFS_and_web_servers_for_Kerberos/​AD_integration]] 
 + 
 +==== Setup ==== 
 +  - Copy ''<​default>/​ntlm-authentication-context.xml''​ to\\ ''<​extension>/​ntlm-authentication-context.xml''​ 
 +  - Add server property to that file 
 +  - :!: Backup ''​JBOSS_HOME/​server/​default/​deploy/​alfresco.war/​WEB-INF/​web.xml''​ to\\ ''​web.xml.original''​ 
 +  - :!: In ''​web.xml''​ uncomment NTLM filter and comment standard filters 
 + 
 +===== LDAP User and Group sync ===== 
 +==== References ==== 
 +  * [[http://​wiki.alfresco.com/​wiki/​Enterprise_Security_and_Authentication_Configuration]] 
 +  * [[http://​wiki.alfresco.com/​wiki/​Security_and_Authentication]] 
 + 
 + 
 +==== Setup ==== 
 +  - Copy from extension pack ''​ldap-synchronisation-context.xml''​ and\\ ''​ldap-synchronisation.properties''​ to ''<​extension>''​ 
 +  - Add in the xml a bean ''​ldapInitialDirContextFactory''​ and relating settings for this bean (get it from ''​ldap-authentication-context.xml''​ and ''​ldap-authentication.properties''​) instead of the existing alias. 
 +  - Rename this bean to ''​ldapSyncInitialDirContextFactory''​\\ 
 +  - Set the default properties relating to AD and add properties like in Table 1 
 +  - In ''<​extension>/​custom-authority-service-context.xml''​ add and check admin user names. They HAVE TO BE case sensitiv even if the Alfresco setting for user names is "not case sensitiv"​. 
 + 
 +^ Alfresco user property ​ ^ AD property name  ^ 
 +| company ​                | organizationalId ​ | 
 +| department ​             | organization ​     | 
 +| description ​            | jobtitle ​         | 
 +<​sub>​Table 1 - property relation Alfresco AD:</​sub>​ 
 + 
 +===== Corrected and customized home folder creation ===== 
 +Alfresco creates the homefolder for users imported via LDAP automatically. Unfortunately these homefolders are located in the ''​Company Home''​. This task address that problem and place the homefolders into ''​User Homes''​. Additionally the inner structure of such a homefolder will be taken out of a template. 
 + 
 +  - In ''<​extension>/​ldap-synchronisation.properties''​ set\\ ''​ldap.synchronisation.defaultHomeFolderProvider=userHomesHomeFolderProvider''​ 
 +  - Copy ''​authentication-services-context.xml''​ to\\ ''<​extension>/​custom-authentication-services-context.xml''​ 
 +  - In this file in the bean description for ''​userHomesHomeFolderProvider''​ add\\ property ''​templatePath''​. Point it to a folder which contains the user home template for example: <​value>/​${spaces.company_home.childname}/​${spaces.dictionary.childname}/​${spaces.templates.childname}/​cm:​Homefolder</​value>​ 
 +  - Take care! In ''<​extension>​ldap-synchronisation-context.xml''​ the property\\ ''​clearAllChildren''​ of ''​ldapPeopleImport''​ MUST NOT set to true. ((I had activated this setting during the testphase to get new homefolders automatically during each LDAP lookup. But login and work inside the homefolder as a LDAP sync'd user results in tons of error messages.))
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
forum/alfresco/basic-configuration.1211203630.txt.gz · Last modified: 2023/11/19 22:45 (external edit)