AnsweredAssumed Answered

Alfresco 3.4 y LDAP

Question asked by david_6914 on Jan 7, 2011
Latest reply on Jan 17, 2012 by cristinamr
Hola a todos,
estoy intentando logearme en alfresco contra mi servidor LDAP, pero estoy un poco confuso, en la wiki de alfresco me dice que hay que crearse un archivo en
$TOMCAT_HOME/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties

Con las propiedades de la conexión, lo he probado y no me funciona.
También he probado a poner la configuración en el archivo "alfresco-global.properties", como he leido en un blog, pero tampoco funciona.

Ya no se si es problema que no pongo en el sitio correcto la configuración o es que los datos de esta son incorrectos (aunque para el resto de aplicaciones que usan este tipo de autorización funcionan correctamente).

Ahí van los datos de configuración:


#
# This properties file brings together the common options for LDAP authentication rather than editing the bean definitions
#

ldap.authentication.active=true
ldap.synchronization.active=false

# How to map the user id entered by the user to taht passed through to LDAP
# - simple
# - this must be a DN and would be something like
# CN=%s,DC=company,DC=com
# - digest
# - usually pass through what is entered
# %s
ldap.authentication.userNameFormat=dc=auth,dc=innoforma,dc=com

# The LDAP context factory to use
#ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory

# The URL to connect to the LDAP server
ldap.authentication.java.naming.provider.url=ldap://auth.desarrollo:389

# The authentication mechanism to use
#ldap.authentication.java.naming.security.authentication=DIGEST-MD5
ldap.authentication.java.naming.security.authentication=simple

# The default principal to use (only used for LDAP sync)
ldap.authentication.java.naming.security.principal=cn=root,dc=auth,dc=innoforma,dc=com

# The password for the default principal (only used for LDAP sync)
ldap.authentication.java.naming.security.credentials=*********

# Escape commas entered by the user at bind time
# Useful when using simple authentication and the CN is part of the DN and contains commas
ldap.authentication.escapeCommasInBind=false

# Escape commas entered by the user when setting the authenticated user
# Useful when using simple authentication and the CN is part of the DN and contains commas, and the escaped \, is
# pulled in as part of an LDAP sync
# If this option is set to true it will break the default home folder provider as space names can not contain \
ldap.authentication.escapeCommasInUid=false

Alguna ayuda? Gracias de antemano!

Outcomes