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 14:44]
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 27: Line 27:
  
 If you want to overwrite existing settings in your custom configuration you have to add the ''​replace="​true"''​ attribute in the ''<​config>''​ tag. If you want to overwrite existing settings in your custom configuration you have to add the ''​replace="​true"''​ attribute in the ''<​config>''​ tag.
- 
  
  
Line 82: Line 81:
   - Copy ''​openoffice-startup-context.xml''​ from the\\ ''/​usr/​share/​alfresco/​install-extensions''​ folder to ''<​extension>/​bootstrap''​   - 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 ===== ===== Email Sending =====
Line 87: Line 87:
   - Setup email properties in ''<​extension>/​custom-repository.properties''​   - Setup email properties in ''<​extension>/​custom-repository.properties''​
   - Setup ''​from-email-address''​ in ''<​extension>/​web-client-config-custom.xml''​   - 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 ===== ===== Email Receiving =====
Line 118: Line 119:
   - :!: In ''​web.xml''​ uncomment NTLM filter and comment standard filters   - :!: In ''​web.xml''​ uncomment NTLM filter and comment standard filters
  
-===== Sidepanel with combined Shelf/Opensearch/Category browser ​===== +===== LDAP User and Group sync ===== 
-The default sidepanel with function chooser on top is long windedAlso there is enough space to combine the functions into one single view+==== References ==== 
-Unfortunately ​the Category Browser ​and the Navigator cannot sit inside the same JSPAs a result there is still the function chooser with two options leftThe default ​entry (called shelf) is for shelf/opensearch/category ​and the alternative one for the navigator.+  * [[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.
  
-  - :!: Copy ''​JBOSS_HOME/server/​default/​deploy/​alfresco.war/​jsp/​sidepanel/​shelf.jsp''​ to ''​shelf.jsp.original''​ +  - In ''​<​extension>​/ldap-synchronisation.properties''​ set\\ ''​ldap.synchronisation.defaultHomeFolderProvider=userHomesHomeFolderProvider''​ 
-  - :!: Add entries ​for category browser and opensearch into shelf.jsp +  - Copy ''​authentication-services-context.xml''​ to\\ ''​<​extension>/​custom-authentication-services-context.xml''​ 
-  - Edit ''<​extension>​/web-client-config-custom.xml'' ​and comment ​the opensearch and category pluginSet default plugin ​to shelf.+  - 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.1211467491.txt.gz · Last modified: 2023/11/19 22:45 (external edit)