Configuring AD ( LDAP) on Community Edition 201911

cancel
Showing results for 
Search instead for 
Did you mean: 
Splat
Member II

Configuring AD ( LDAP) on Community Edition 201911

I downloaded and install the Alfresco  Community Edition 201911 installed it on Centos 8  Per Instructions. ( there are errors in the instructions ) , but I got it up and running , 

now I'm tryingto configure Active Directory authentication. searching there is more then one way top do this , 1) is usingthe admin console and usingthe direcory tab , I can't find that tab any where!!! 

 or manually edit the  alfresco-global.properties file. where is that file  ? for that matter where are any ofthe config files ? 

I do a find . -name alfresco-global.properties from  /  

and I get this 

[root@own /]#   find . -name alfresco-global.properties
find: ‘./proc/30883/task/30883/net’: Invalid argument
find: ‘./proc/30883/net’: Invalid argument
./var/lib/docker/overlay2/9f750b7796f68b64e311080fb553e7695b99cff2b645726019422bc2a96587f5/diff/usr/local/tomcat/shared/classes/alfresco-global.properties
./var/lib/docker/overlay2/f5339350786cb46c25437617fa236436613effb5b7194bfe13b1b32b11845d28/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties
./var/lib/docker/overlay2/bdf4c3d26cb9f6157566d0311367bff0f1c322217561ee468c504452033fc109/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties
./var/lib/docker/overlay2/3294ded7e4417b6c582407e42dddd5e1ed70e79c473139205b3f853261db41fd/diff/usr/local/tomcat/shared/classes/alfresco-global.properties
./var/lib/docker/overlay2/3294ded7e4417b6c582407e42dddd5e1ed70e79c473139205b3f853261db41fd/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties
./var/lib/docker/overlay2/804cd03edba68c88f814eb3213b943b413a5083cd9266b1ef1644668439c5d0f/merged/usr/local/tomcat/shared/classes/alfresco-global.properties
./var/lib/docker/overlay2/804cd03edba68c88f814eb3213b943b413a5083cd9266b1ef1644668439c5d0f/merged/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties
[root@own /]#

did I set this up wrong ?  or where do I go to configure LDAP ?

 

4 Replies
afaust
Master

Re: Configuring AD ( LDAP) on Community Edition 201911

Using the Alfresco Docker images, you typically do not configure the alfresco-global.properties itself, but use the JAVA_OPTS parameter to append a bunch of -Dldap.xyz.key=value property flags to it.

Generally speaking, it is completely normal for an Alfresco installation to contain multiple alfresco-global.properties files. There is a mechanism in place which will load sub-groups of them in a specific order, and typically the one in ..tomcat/shared/classes/ is the final one, meaning that it can override any configuration from other files of the same name.

Splat
Member II

Re: Configuring AD ( LDAP) on Community Edition 201911

I',m not familiar with JAVA_OPTS , how do you do that ? 

EddieMay
Alfresco Employee

Re: Configuring AD ( LDAP) on Community Edition 201911

Hi @Splat,

As @afaust  says,  java_opts can be set in the alfresco-global.properties file located in $TOMCAT_HOME/shared/classes/ . The documentation provides an example here. Restart Tomcat & your changes should take effect.

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
gersonrhu
Active Member

Re: Configuring AD ( LDAP) on Community Edition 201911

Good Morning Splat, could you integrated LDAP to alfresco? I have the same problem, I'm using alfresco 7 on a Docker but I don't find global properties and I don't know where put the configuration, help me pleasee!