Missing folders and files in 5.0a?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2014 04:31 PM
I have a clean install of 5.0a on MS Server 2012. I went to set up my ldap settings, but I am missing a bunch of folders, specifically repository.properties and the ldap subsystem folders under C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication.
I copied the same-named folders/files from the backup of a previously working 4.2e install to the same directories in 5. They didn't work (could only log in as non-AD user account, like the builtin alfresco admin)
I also tried to copy/paste the combined settings of repository.properties and the ldap-ad-authentication.properties to the alfresco-global.properties file, to see if that worked. No luck.
Suggestions?
Here are my global properties
I copied the same-named folders/files from the backup of a previously working 4.2e install to the same directories in 5. They didn't work (could only log in as non-AD user account, like the builtin alfresco admin)
I also tried to copy/paste the combined settings of repository.properties and the ldap-ad-authentication.properties to the alfresco-global.properties file, to see if that worked. No luck.
Suggestions?
Here are my global properties
################################# Common Alfresco Properties ################################dir.root=C:/Alfresco/alf_dataalfresco.context=alfrescoalfresco.host=127.0.0.1alfresco.port=8081alfresco.protocol=httpshare.context=shareshare.host=127.0.0.1share.port=8081share.protocol=http### database connection properties ###db.driver=org.postgresql.Driverdb.username=alfrescodb.password=Master123456db.name=alfrescodb.url=jdbc:postgresql://localhost:5432/${db.name}# The server mode. Set value here# UNKNOWN | TEST | BACKUP | PRODUCTIONsystem.serverMode=UNKNOWN### FTP Server Configuration ###ftp.enabled=trueftp.port=21### RMI service ports ###alfresco.rmi.services.port=50500avm.rmi.service.port=0avmsync.rmi.service.port=0attribute.rmi.service.port=0authentication.rmi.service.port=0repo.rmi.service.port=0action.rmi.service.port=0deployment.rmi.service.port=0### External executable locations ###ooo.exe=C:/Alfresco/libreoffice/App/libreoffice/program/soffice.exeooo.enabled=trueooo.port=8100img.root=C:\\Alfresco\\imagemagickimg.coders=${img.root}\\modules\\codersimg.config=${img.root}\\configimg.gslib=${img.root}\\libimg.exe=${img.root}\\convert.exeswf.exe=C:/Alfresco/swftools/pdf2swf.exeswf.languagedir=C:/Alfresco/swftools/japanesejodconverter.enabled=falsejodconverter.officeHome=C:/Alfresco/libreoffice/App/libreofficejodconverter.portNumbers=8100### Initial admin password ###alfresco_user_store.adminpassword=ab9946b99230a077d10b37b94d91b1a6### E-mail site invitation setting ###notification.email.siteinvite=false### License location ###dir.license.external=C:/Alfresco### Solr indexing ###index.subsystem.name=solrdir.keystore=${dir.root}/keystoresolr.port.ssl=8444### BPM Engine ###system.workflow.engine.jbpm.enabled=false### Allow extended ResultSet processingsecurity.anyDenyDenies=false### Authenticationauthentication.chain=ldap-ad1:ldap-ad,alfrescoNtlm1:alfrescoNtlm ldap.authentication.active=trueldap.authentication.allowGuestLogin=falseldap.authentication.userNameFormat=%s@wpshcldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactoryldap.authentication.java.naming.provider.url=ldap://wpshc-dc02.wpshc:3268ldap.authentication.java.naming.security.authentication=simpleldap.authentication.escapeCommasInBind=falseldap.authentication.escapeCommasInUid=falseldap.authentication.defaultAdministratorUserNames=alfrescodocadmin,hgilchrist$,schindlert,rcole$,campeaus,dlachance$ldap.synchronization.active=trueldap.synchronization.java.naming.security.authentication=simpleldap.synchronization.java.naming.security.principal=alfrescodocadmin@wpshcldap.synchronization.java.naming.security.credentials=Sc4n@lfrldap.synchronization.queryBatchSize=1000ldap.synchronization.attributeBatchSize=1000ldap.synchronization.groupQuery=(objectclass\=group)ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(!(whenChanged<\={0})))ldap.synchronization.personQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged<\={0})))ldap.synchronization.groupSearchBase=CN=DocScanAlfresco,ou\=Domain\ Groups,dc=wpshc # The user search base restricts the LDAP user query to a sub section of tree on the LDAP server.#ldap.synchronization.userSearchBase=ou\=users,ou=\wpshc,dc=wpshcldap.synchronization.userSearchBase=CN=DocScanAlfresco,OU=Domain Groups,DC=wpshcldap.synchronization.modifyTimestampAttributeName=whenChangedldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'ldap.synchronization.userIdAttributeName=sAMAccountNameldap.synchronization.userFirstNameAttributeName=givenNameldap.synchronization.userLastNameAttributeName=snldap.synchronization.userEmailAttributeName=mailldap.synchronization.userOrganizationalIdAttributeName=companyldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProviderldap.synchronization.groupIdAttributeName=cnldap.synchronization.groupDisplayNameAttributeName=displayNameldap.synchronization.groupType=groupldap.synchronization.personType=userldap.synchronization.groupMemberAttributeName=memberldap.synchronization.enableProgressEstimation=trueldap.authentication.java.naming.read.timeout=0 #synchronization.synchronizeChangesOnly=true#synchronization.import.cron=55 10 * * *cifs.enabled=false
Labels:
- Labels:
-
Archive
15 REPLIES 15

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2015 02:26 AM
Are we talking about this issue: https://issues.alfresco.com/jira/browse/ACE-2133
We are using 5.0.c (CE) and it seems not be fixed.
I have configured LDAP properties in alfresco-global.properties. Authentication works, synchonization not (givenNamen, sn, and mail are synchronized, all other attributes are missing).
Where can we configure additional attributes to be synced (former custom-ldap-context.xml)?
Thank you!
We are using 5.0.c (CE) and it seems not be fixed.
I have configured LDAP properties in alfresco-global.properties. Authentication works, synchonization not (givenNamen, sn, and mail are synchronized, all other attributes are missing).
Where can we configure additional attributes to be synced (former custom-ldap-context.xml)?
Thank you!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2015 04:59 AM
Please note the original issue described: there are missing files and folders related to the default LDAP configuration which need to be copied but cannot be found. For example, the official Alfresco Community 5 documentation states:
Copy <configRootShare>/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties
to <classpathRoot>/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties
This path does not exist: <configRootShare>/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties
The only folders that exist under <configRootShare>/classes/alfresco/subsystems/Authentication/ are:
alfrescoNtlm
external
kerberos
passthru
There is no LDAP and no such file as "ldap-authentication.properties"
I am using a Bitnami Linux VM image with Alfresco Community 5.0c
Any ideas on why these files would be missing?
Copy <configRootShare>/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties
to <classpathRoot>/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties
This path does not exist: <configRootShare>/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties
The only folders that exist under <configRootShare>/classes/alfresco/subsystems/Authentication/ are:
alfrescoNtlm
external
kerberos
passthru
There is no LDAP and no such file as "ldap-authentication.properties"
I am using a Bitnami Linux VM image with Alfresco Community 5.0c
Any ideas on why these files would be missing?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2015 04:34 PM
Hi RAurelian, In version 5.0 of Alfresco there are no folders that you want (LDAP) The settings for Ldap must place the file "alfresco-global.properties"
that should be in the path "/alfresco/tomcat/shared/classes"
Erick Rivera
www.ups.edu.ec
that should be in the path "/alfresco/tomcat/shared/classes"
Erick Rivera
www.ups.edu.ec
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2015 09:16 AM
Hi Erick,
Thank you for this information!
Thank you for this information!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2015 10:05 AM
The new build (alfresco 5 use Maven) doesn't come with the subsystems properties files, but you can still find them in the git repository, just do a google search for "alfresco git ldap-authentication.properties" and copy the content of the files the ldap subsystems directory, then you can configure your authentication outside of the alfresco-global.properties
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2016 07:19 AM
Hi all,
starting from version 5, to get the ldap subsystem folders you need to extract the JAR file located in WEB-INF/lib/alfresco-repository-(ver).jar
Alfresco 5 packaging was changed due to code refactoring and integration with Maven. So some files used for edit in webapps/alfresco/WEB-INF/classes/alfresco/* are now moved in the compiled JARs.
According to the release notes, there's a known issue about this :
https://wiki.alfresco.com/wiki/Alfresco_Community_5.0.c_Release_Notes
I hove it will be useful
J
starting from version 5, to get the ldap subsystem folders you need to extract the JAR file located in WEB-INF/lib/alfresco-repository-(ver).jar
Alfresco 5 packaging was changed due to code refactoring and integration with Maven. So some files used for edit in webapps/alfresco/WEB-INF/classes/alfresco/* are now moved in the compiled JARs.
According to the release notes, there's a known issue about this :
https://wiki.alfresco.com/wiki/Alfresco_Community_5.0.c_Release_Notes
I hove it will be useful
J
