Giter VIP home page Giter VIP logo

Comments (9)

killerboot avatar killerboot commented on September 26, 2024

Hi @yukanke-ec
Can you please provide your docker-compose file? Currently it is hard to access what is wrong,

from acs-community-deployment.

ecbeing-internalSystem avatar ecbeing-internalSystem commented on September 26, 2024

A little customization of docker-compose.yml in this repository.

services:
    alfresco:
        build: ./docker/alfresco
        mem_limit: 1500m
        environment:
            JAVA_OPTS: "
                -Ddb.driver=org.postgresql.Driver
                -Ddb.username=alfresco
                -Ddb.password=alfresco
                -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
                -Dsolr.host=solr6
                -Dsolr.port=8983
                -Dsolr.secureComms=none
                -Dsolr.base.url=/solr
                -Dindex.subsystem.name=solr6
                -Dshare.host=127.0.0.1
                -Dshare.port=8080
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
                -Ddeployment.method=DOCKER_COMPOSE

                -Dlocal.transform.service.enabled=true
                -DlocalTransform.pdfrenderer.url=http://alfresco-pdf-renderer:8090/
                -DlocalTransform.imagemagick.url=http://imagemagick:8090/
                -DlocalTransform.libreoffice.url=http://libreoffice:8090/
                -DlocalTransform.tika.url=http://tika:8090/
                -DlocalTransform.misc.url=http://transform-misc:8090/

                -Dlegacy.transform.service.enabled=true
                -Dalfresco-pdf-renderer.url=http://alfresco-pdf-renderer:8090/
                -Djodconverter.url=http://libreoffice:8090/
                -Dimg.url=http://imagemagick:8090/
                -Dtika.url=http://tika:8090/
                -Dtransform.misc.url=http://transform-misc:8090/

                -Dcsrf.filter.enabled=false
                -Xms1500m -Xmx1500m
                "
        ports:
            - 21:2121      # FTP port
#            - 25:2525      # SMTP port
            - 143:1143     # IMAP port
            - 445:1145     # CIFS
            - 137:1137/udp # CIFS
            - 138:1138/udp # CIFS
            - 139:1139     # CIFS
        volumes:
            - alf-repo-data:/usr/local/tomcat/alf_data
            - alf-setting-data:/usr/local/tomcat/shared/classes
    alfresco-pdf-renderer:
        build: ./docker/alfresco-pdf-renderer
        mem_limit: 1g
        environment:
            JAVA_OPTS: " -Xms256m -Xmx512m"
        ports:
            - 8090:8090

    imagemagick:
        build: ./docker/imagemagick
        mem_limit: 1g
        environment:
            JAVA_OPTS: " -Xms256m -Xmx512m"
        ports:
            - 8091:8090

    libreoffice:
        build: ./docker/libreoffice
        mem_limit: 1g
        environment:
            JAVA_OPTS: " -Xms256m -Xmx512m"
        ports:
            - 8092:8090
        volumes:
            - ./docker/libreoffice/japanese:/opt/libreoffice5.4/share/fonts/truetype/japanese

    tika:
        build: ./docker/tika
        mem_limit: 1g
        environment:
            JAVA_OPTS: " -Xms256m -Xmx512m"
        ports:
            - 8093:8090

    transform-misc:
        build: ./docker/transform-misc
        mem_limit: 1g
        environment:
            JAVA_OPTS: " -Xms256m -Xmx512m"
        ports:
            - 8094:8090

    share:
        build: ./docker/share
        mem_limit: 1g
        environment:
            REPO_HOST: "alfresco"
            REPO_PORT: "8080"
            JAVA_OPTS: "
                -Xms500m
                -Xmx500m
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Dalfresco.context=alfresco
                -Dalfresco.protocol=http
                "
        volumes:
            - share-data:/usr/share

    postgres:
        build: ./docker/postgres
        mem_limit: 512m
        environment:
            - POSTGRES_PASSWORD=alfresco
            - POSTGRES_USER=alfresco
            - POSTGRES_DB=alfresco
        command: postgres -c max_connections=300 -c log_min_messages=LOG
        ports:
            - 5432:5432
        volumes:
            - postgres-data:/var/lib/postgresql/data

    solr6:
        build: ./docker/solr6
        mem_limit: 2g
        environment:
            #Solr needs to know how to register itself with Alfresco
            - SOLR_ALFRESCO_HOST=alfresco
            - SOLR_ALFRESCO_PORT=8080
            #Alfresco needs to know how to call solr
            - SOLR_SOLR_HOST=solr6
            - SOLR_SOLR_PORT=8983
            #Create the default alfresco and archive cores
            - SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
            - "SOLR_JAVA_MEM=-Xms2g -Xmx2g"
        ports:
            - 8083:8983 #Browser port
        volumes:
            - solr-data:/opt/alfresco-search-services/data

    activemq:
        build: ./docker/activemq
        mem_limit: 1g
        ports:
            - 8161:8161 # Web Console
            - 5672:5672 # AMQP
            - 61616:61616 # OpenWire
            - 61613:61613 # STOMP
            
    proxy:
        build: ./docker/proxy
        mem_limit: 128m
        depends_on:
            - alfresco
        ports:
            - 8080:8080
        links:
            - alfresco
            - share
volumes:
    alf-repo-data:
        external: true
    postgres-data:
        external: true
    solr-data:
        external: true
    share-data:
        external: true
    alf-setting-data:
        external: true

from acs-community-deployment.

killerboot avatar killerboot commented on September 26, 2024

ok, so are you trying to set LDAP settings in a Dockerfile in ./docker/alfresco ? If so can you please also share the Dockerfile, please.

from acs-community-deployment.

killerboot avatar killerboot commented on September 26, 2024

Please mind that when you mount the volume alf-setting-data:/usr/local/tomcat/shared/classes to a docker container it will overwrite the contents of /usr/local/tomcat/shared/classes, that's where the alfresco-global.properties is usually placed.

from acs-community-deployment.

ecbeing-internalSystem avatar ecbeing-internalSystem commented on September 26, 2024

I want to implement LDAP, but the Dockerfile has not changed.
And what I am editing for LDAP implementation is alfresco-global.properties.

./docker/alfresco/Dockerfile

FROM alfresco/alfresco-content-repository-community:6.2.0-A3
EXPOSE 2121 1143 2525 1445 1137/udp 1138/udp 1139

/usr/local/tomcat/shared/classes/alfresco-global.prooerties(in alfresco container)

alfresco-pdf-renderer.root=/usr/bin/
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer

jodconverter.enabled=true
jodconverter.portNumbers=8100
jodconverter.officeHome=/opt/libreoffice6.1/

img.root=/usr/lib64/ImageMagick-7.0.7
img.coders=/usr/lib64/ImageMagick-7.0.7/modules-Q16HDRI/coders
img.config=/usr/lib64/ImageMagick-7.0.7/config-Q16HDRI
img.exe=/usr/bin/convert

content.transformer.default.timeoutMs=-1
content.transformer.PdfBox.TextToPdf.maxSourceSizeKBytes=3072
content.transformer.Pdf2swf.maxSourceSizeKBytes=3072
content.transformer.complex.Text.Pdf2swf.maxSourceSizeKBytes=3072
 
content.transformer.OpenOffice.mimeTypeLimits.txt.pdf.maxSourceSizeKBytes=3072
 
content.transformer.OpenOffice.mimeTypeLimits.doc.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.docx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.docm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.dotx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.dotm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.ppt.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.pptx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.pptm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.ppsx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.ppsm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.potx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.potm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.ppam.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.sldx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.sldm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.vsd.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xls.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xlsx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xltx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xlsm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xltm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xlam.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xlsb.pdf.maxSourceSizeKBytes=3072
 
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.txt.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.doc.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.docx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.docm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.dotx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.dotm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppt.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.pptx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.pptm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppsx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppsm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.potx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.potm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppam.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.sldx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.sldm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.vsd.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xls.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlsx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xltx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlsm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xltm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlam.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlsb.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.PdfBox.mimeTypeLimits.xlsb.txt.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.PdfBox.mimeTypeLimits.potm.txt.maxSourceSizeKBytes=3072
content.transformer.complex.OpenOffice.Pdf2swf.extensions.doc.swf.maxSourceSizeKBytes=3072
content.transformer.complex.OpenOffice.Pdf2swf.extensions.docx.swf.maxSourceSizeKBytes=3072
content.transformer.complex.JodConverter.Pdf2swf.extensions.doc.swf.maxSourceSizeKBytes=3072
content.transformer.complex.JodConverter.Pdf2swf.extensions.docx.swf.maxSourceSizeKBytes=3072
content.transformer.complex.OpenOffice.Pdf2swf.extensions.ppt.swf.maxSourceSizeKBytes=3072
content.transformer.complex.OpenOffice.Pdf2swf.extensions.pptx.swf.maxSourceSizeKBytes=3072
content.transformer.complex.JodConverter.Pdf2swf.extensions.ppt.swf.maxSourceSizeKBytes=3072
content.transformer.complex.JodConverter.Pdf2swf.extensions.pptx.swf.maxSourceSizeKBytes=3072
content.transformer.complex.OpenOffice.Pdf2swf.extensions.xls.swf.maxSourceSizeKBytes=3072
content.transformer.complex.OpenOffice.Pdf2swf.extensions.xlsx.swf.maxSourceSizeKBytes=3072
content.transformer.complex.JodConverter.Pdf2swf.extensions.xls.swf.maxSourceSizeKBytes=3072
content.transformer.complex.JodConverter.Pdf2swf.extensions.xlsx.swf.maxSourceSizeKBytes=3072


# text -> pdf using PdfBox (text/csv, text/xml) 10M takes about 12 seconds
content.transformer.PdfBox.TextToPdf.maxSourceSizeKBytes=30720
 
# pdf -> swf using Pdf2swf 2M takes about 60 seconds.
content.transformer.Pdf2swf.maxSourceSizeKBytes=2048
 
# txt -> pdf -> swf 5M (pdf is about the same size as the txt)
# Need this limit as transformer.PdfBox txt -> pdf is allowed up to 10M
content.transformer.complex.Text.Pdf2swf.maxSourceSizeKBytes=5120
 
# Transforms to PDF
# =================
content.transformer.OpenOffice.mimeTypeLimits.txt.pdf.maxSourceSizeKBytes=5120
content.transformer.OpenOffice.mimeTypeLimits.doc.pdf.maxSourceSizeKBytes=30720
content.transformer.OpenOffice.mimeTypeLimits.docx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.docm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.dotx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.dotm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.ppt.pdf.maxSourceSizeKBytes=6144
content.transformer.OpenOffice.mimeTypeLimits.pptx.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.pptm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.ppsx.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.ppsm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.potx.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.potm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.ppam.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.sldx.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.sldm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.vsd.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.mimeTypeLimits.xls.pdf.maxSourceSizeKBytes=30720
content.transformer.OpenOffice.mimeTypeLimits.xlsx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xltx.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xlsm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xltm.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xlam.pdf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.mimeTypeLimits.xlsb.pdf.maxSourceSizeKBytes=3072
 
# Transforms to SWF
# =================
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.txt.swf.maxSourceSizeKBytes=5120
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.doc.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.docx.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.docm.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.dotx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.dotm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppt.swf.maxSourceSizeKBytes=6144
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.pptx.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.pptm.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppsx.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppsm.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.potx.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.potm.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.ppam.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.sldx.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.sldm.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.vsd.swf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xls.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlsx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xltx.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlsm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xltm.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlam.swf.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.xlsb.swf.maxSourceSizeKBytes=3072
 
 
# OpenOffice transforms to TXT (generally there are better options such as Tika)
# =============================
content.transformer.OpenOffice.PdfBox.mimeTypeLimits.xlsb.txt.maxSourceSizeKBytes=3072
content.transformer.OpenOffice.PdfBox.mimeTypeLimits.potm.txt.maxSourceSizeKBytes=3072


content.transformer.JodConverter.extensions.doc.pdf.maxSourceSizeKBytes=3072
content.transformer.JodConverter.extensions.docm.pdf.maxSourceSizeKBytes=3072
content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=3072
content.transformer.JodConverter.extensions.dotm.pdf.maxSourceSizeKBytes=3072
content.transformer.JodConverter.extensions.dotx.pdf.maxSourceSizeKBytes=3072
content.transformer.JodConverter.extensions.potm.pdf.maxSourceSizeKBytes=4096
content.transformer.JodConverter.extensions.potx.pdf.maxSourceSizeKBytes=4096 



#ldap.authentication.active=true
#ntlm.authentication.sso.enabled=false
#ldap.synchronization.active=false
#ldap.authentication.allowGuestLogin=false
#authentication.chain=ldap1-ad:ldap,alfrescoNtlm1:alfrescoNtlm
#ldap.authentication.userNameFormat=samaccountname=%[email protected],dc=sample,dc=co,dc=jp
#ldap.authentication.java.naming.provider.url=ldap://sample.co.jp:389
#ldap.authentication.defaultAdministratorUserNames=loginuser@sample.co.jp,loginuserpassword
#ldap.authentication.java.naming.security.authentication=SIMPLE



authentication.chain=alfinst:alfrescoNtlm,ldap1:ldap-ad
 
create.missing.people=false
 
alfresco.authentication.allowGuestLogin=false
# Disable guest logins
 
ntlm.authentication.mapUnknownUserToGuest=false
# Disable guest logins
 
ntlm.authentication.sso.enabled=false
# Disable SSO logins
 
ldap.synchronization.groupSearchBase=dc=sample,dc=co,cd=jp
# Domain search base
 
ldap.synchronization.userSearchBase=dc=sample,dc=co,dc=jp
# Domain search base
 
 
#########################
#LDAP AUTHENTIFICATION #
#########################
ldap.authentication.active=true
 
ldap.authentication.allowGuestLogin=false
# Disable guest logins
 
ldap.authentication.userNameFormat=%[email protected]
 
ldap.authentication.java.naming.provider.url=ldap://sample.co.jp:389
# AD server address
 
ldap.authentication.defaultAdministratorUserNames=loginuser,loginuserpassword
# Admin users logins
 
 
########################
#LDAP SYNCHRONISATION #
########################
synchronization.synchronizeChangesOnly=false
# Do full synchronize
 
synchronization.allowDeletions=true
# Allow deletion info from local Alfresco
 
synchronization.syncWhenMissingPeopleLogIn=true
# Tries to find user in allowed Ad group
 
synchronization.syncOnStartup=true
# synchronize AD on reboot
 
ldap.synchronization.active=true
 
ldap.synchronization.java.naming.security.principal=loginuser
# User with LDAP read rights login
 
ldap.synchronization.java.naming.security.credentials=loginuserpassword
# User with LDAP read rights password
 
synchronization.import.cron=00/15 * * * ?
# synchronisation starts every 15 minutes!
 
 
#####################
#LDAP PERSON QUERY #
#####################
ldap.synchronization.personQuery=(&(objectclass\=user)
(memberOf\=dc\=sample,dc\=co,dc\=jp)
(userAccountControl:1.2.840.113556.1.4.803:=512))
# Query to grabb all users in alfresco group with full path
 
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)
(memberOf\=dc\=sample,dc\=co,dc\=jp)
(userAccountControl:1.2.840.113556.1.4.803:=512))
# Query to grabb all users in alfresco group with full path (force full sync)
 
 
#####################
#LDAP GROUP QUERY #
####################
ldap.synchronization.groupQuery=(&(objectclass\=group)(|
(memberOf\=dc\=sample,dc\=co,dc\=jp)))
# Query to grabb alfresco group with full path
 
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)
(|(memberOf\=dc\=sample,dc\=co,dc\=jp)))
# Query to grabb alfresco group with full path (force full sync)

from acs-community-deployment.

killerboot avatar killerboot commented on September 26, 2024

So when alfresco container starts up. Can you see that the alfresco-global.properties is present in /usr/local/tomcat/shared/classes and has your changes?
You can check that by running docker exec -it <alfresco-container-id> bash and then navigating to /usr/local/tomcat/shared/classes.
It is also worth checking the permissions on a file as by default the process is run by alfresco user and the permissions may be altered during file modifications.

from acs-community-deployment.

ecbeing-internalSystem avatar ecbeing-internalSystem commented on September 26, 2024

When the Alfresco container is started, alfresco-global.properties exists and the edited content of alfresco-global.properties is retained. (Even if the container is restarted)

Permission settings when viewing alfresco-global.properties from within the Alfresco container
"-rw-r--r-- root Alfresco"
It has become.

from acs-community-deployment.

killerboot avatar killerboot commented on September 26, 2024

ok, this seems correct. What makes you think that the configuration in alfresco-global.properties doesn't work? Is there any particular error you can refer from the logs?

from acs-community-deployment.

killerboot avatar killerboot commented on September 26, 2024

I'm going to close this issue as there was no activity for some time. Please reopen with a comment or create a new one if there are still problems unresolved. Thanks

from acs-community-deployment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.