AnsweredAssumed Answered

LDAP configuration

Question asked by jnarbonne on Oct 20, 2015
Latest reply on Oct 26, 2015 by muralidharand
Hello,

I'm new on alfresco and Unix OS,

I'm installing an alfresco community 5.0d (complete install via [package].bin) on debian and i m'configuring connection to the ldap.

To be clear, if connection with ldap failed, i want user can connect in local.

But ldap conf is not working for the moment.

Someone could help me please?

Current state:

I create an ldap-authentication.properties in
/opt/alfresco-5.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap1/
/opt/alfresco-5.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap2/

and i make a copy of this two conf file in

/opt/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/
/opt/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap2/


ldap-authentication.properties [LDAP1] file is for connection to ldap server
ldap-authentication.properties [LDAP2] file is for local connection if server can't connect to ldap server

flows to ldap server are ok on 389

I configure also alfresco-global.properties with the following parameters:

<code>
###Authentification LDAP
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap,ldap2:ldap

## When TESTING, set synchronizeChangesOnly to false
## - this will give FULL synchronization for scheduled synchs
synchronization.synchronizeChangesOnly=false
## Set up regular synchronization with the LDAP server ##
synchronization.syncWhenMissingPeopleLogIn=true
synchronization.syncOnStartup=true
# When TESTING, synchronise every 5 minutes
# secs min hour dom mon dow
synchronization.import.cron=0 */5 * * * ?
<code>

Some help is welcome from experiment people :)

If someone can explain a bit the minima configuration to use to work, that will be wonderfull :)

Thanks in advance,

J

Outcomes