# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # RUN TIME PROPERTIES # ------------------- # Sample custom content and index data location # This will create alf_data Relative to appserver run folder # In this default file we take the property from the POM (for compatbility with local jetty and jboss deployments) but it can also be edited here. dir.root=${alfresco.data.location} # Allowed values are: NONE, AUTO, FULL index.recovery.mode=NONE # Fail or not when there are node integrity checker errors integrity.failOnError=true # database connection properties # MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server) db.driver=${alfresco.db.driver} db.url=${alfresco.db.url} db.username=${alfresco.db.username} db.password=${alfresco.db.password} db.pool.initial=10 db.pool.max=100 # Dialect is autodetected starting from 3.2 # H2 dialect hibernate.dialect=${alfresco.db.hibernate.dialect} # Property to control whether schema updates are performed automatically. # Updates must be enabled during upgrades as, apart from the static upgrade scripts, # there are also auto-generated update scripts that will need to be executed. After # upgrading to a new version, this can be disabled. #db.schema.update=true # File servers related properties # For local builds we disable CIFS and FTP. Edit the following property to reenable them smb.server.enabled=false smb.server.name=CFS_SHARE_LOCAL smb.server.domain=mycompany.com smb.server.bindto=127.0.0.1 smb.tcpip.port=1445 netbios.session.port=1139 netbios.name.port=1137 netbios.datagram.port=1138 ftp.server.enables=false ftp.port=1121 ftp.authenticator=alfresco # This properties file is used to configure LDAP authentication # NB: The following LDAP related properties are read only in case -Denteprise mvn build property is specified # Wheter to allow silent deletion of users in the Alfresco UI (note: users will be then resynced in the next synchronization) ldap.authentication.allowDeleteUser=true # LDAP JNDI provider ldap.authentication.provider=com.sun.jndi.ldap.LdapCtxFactory # Url and protocol for LDAP server to carry authentication against ldap.authentication.url=ldap://ldap.mycompany.com:636 # can be (simple, ssl) ldap.authentication.protcol=ssl # Credentials with full access to the directoty used ldap.authentication.adminUser=ou=Admin,ou=Services,o=Company ldap.authentication.adminPassword=secret # Wheter to allow unauthenticated guest a read only login ldap.authentication.guestLogin.allowed=false # Wheter users can be created on the fly upon successful external (e.g. LDAP) authentication. Useful to avoid user synchronization in case just uid and pwd are needed for a user server.transaction.allow-writes=true # Wheter user names are case sensitive user.name.caseSensitive=true # Wheter the synchronization process has to process duplicated users (e.g. synced users and users coming from the sync) personService.processDuplicates=true # Which action to take when processin duplicates. One of: LEAVE, SPLIT, DELETE personService.duplicateMode=DELETE # Which of the users (in case of SPLIT duplicates policy) should be considered valid personService.lastIsBest=true # Wheter auto created users should be considered when processing duplicates personService.includeAutoCreated=true # The query to find the people to import ldap.synchronisation.personQuery=(objectclass=inetOrgPerson) # The search base of the query to find people to import ldap.synchronisation.personSearchBase=ou=Identities,ou=mycompany,o=com # The attribute name on people objects found in LDAP to use as the uid in Alfresco ldap.synchronisation.userIdAttributeName=cn # The attribute on person objects in LDAP to map to the first name property in Alfresco ldap.synchronisation.userFirstNameAttributeName=givenName # The attribute on person objects in LDAP to map to the last name property in Alfresco ldap.synchronisation.userLastNameAttributeName=sn # The attribute on person objects in LDAP to map to the email property in Alfresco ldap.synchronisation.userEmailAttributeName=cn # The attribute on person objects in LDAP to map to the organizational id property in Alfresco ldap.synchronisation.userOrganizationalIdAttributeName=maildomain # The default home folder provider to use for people created via LDAP import ldap.synchronisation.defaultHomeFolderProvider=companyHomeFolderProvider # The query to find group objects ldap.synchronisation.groupQuery=(objectclass=AlfrescoGroup) # The search base to use to find group objects ldap.synchronisation.groupSearchBase=ou=AlfrescoGroups,ou=mycompany,o=com # The attribute on LDAP group objects to map to the gid property in Alfrecso ldap.synchronisation.groupIdAttributeName=cn # The group type in LDAP ldap.synchronisation.groupType=AlfrescoGroup # The person type in LDAP ldap.synchronisation.personType=inetOrgPerson # The attribute in LDAP on group objects that defines the DN for its members ldap.synchronisation.groupMemberAttributeName=member # The cron expression defining when people imports should take place (e.g. every evening at 22:00 hours) ldap.synchronisation.import.person.cron=0 0 22 * * ? # The cron expression defining when group imports should take place (e.g. every evening at 21:45 hours) ldap.synchronisation.import.group.cron=0 45 21 * * ? # Should all groups be cleared out at import time? # - this is safe as groups are not used in Alfresco for other things (unlike person objects which you should never clear out during an import) # - setting this to true means old group definitions will be tidied up. ldap.synchronisation.import.group.clearAllChildren=false # BUILD TIME PROPERTIES # --------------------- # NB: This group of properties is only used by ant for tomcat deployment, and may not be maintained. # Appserver to deploy to (tomcat) - used only by ant ATM. # Use $M2_HOME/conf/settings.xml (or ~/.m2/settings.xml) for maven2 appservers username/password appserver.dir=/your/appserver/dir appserver.host=localhost appserver.manager.url=http://${appserver.host}:8080/manager appserver.username=tomcat appserver.password=tomcat