AnsweredAssumed Answered

Alfresco dont read alfresco-global.properties!

Question asked by humbertoccs on Aug 13, 2010
Latest reply on Aug 13, 2010 by humbertoccs
Hi everyone.

I just installed Alfresco Community Edition 3.2. I was following some books about customization… things like dont allow guest user, ldap authentication, etc.

I could make my Alfresco read the files inside my share folder, and block guest access, but it´s not working when i try to enable ldap authentication, so i have to edit files in WAR folder.

Here is my alfresco-global.properties.

dir.root=/opt/Alfresco/alf_data
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306
ooo.exe=/opt/broffice.org3/program/soffice
img.root=/usr/local
swf.exe=/opt/Alfresco/bin/pdf2swf
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
authentication.chain=alfinst:alfrescoNtlm,ldap1:ldap

And, if it is necessary, my folder in share directory.


# ls /opt/Alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/
alfrescoNtlm  ldap  passthru

# ls /opt/Alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/alfrescoNtlm/
alfinst

# ls /opt/Alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/alfrescoNtlm/alfinst/
alfresco-authentication-context.xml  alfresco-authentication.properties  ntlm-filter-context.xml  ntlm-filter.properties

# ls /opt/Alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/
ldap1

# ls /opt/Alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/
common-ldap-context.xml  ldap-authentication-context.xml  ldap-authentication.properties

After solve this issue, i needo to know why my ldap authentication is not working, but this is another topic problem! :)

Outcomes