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/22 13:12]
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 74: Line 74:
  
 ==== References ==== ==== References ====
 +
  
 ==== Setup ==== ==== Setup ====
-FIXME DOESN'​T WORK!!! +DOESN'​T WORK!!! 
-  - Copy ''​openoffice-startup-context.xml''​ from the ''​install-extensions''​ folder to\\ ''<​extension>/​bootstrap''​+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''​   - 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.1211461966.txt.gz · Last modified: 2023/11/19 22:45 (external edit)