AnsweredAssumed Answered

(SOLUCIONADO)Problema alfresco v3 contra ldap

Question asked by brouco on May 20, 2009
Latest reply on May 21, 2009 by pjcaracuel_2349
Hola tengo el siquiente problema intentento que alfresco loguee contra el ldap:

Mi fichero ldap-authentication.properties esta de la siguiente manera:
#
# This properties file brings together the common options for LDAP authentication rather than editing the bean definitions
#

# 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=uid=%s,OU=People,DC=dominio,DC=loc

# 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://x.x.x.x:389

# The authentication mechanism to use
ldap.authentication.java.naming.security.authentication=SIMPLE

# The default principal to use (only used for LDAP sync)
ldap.authentication.java.naming.security.principal=cn=admin,dc=dominio,dc=loc


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

# 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

He modificado tambien los ficheros chaining-authentication-context.xml ldap-authentication-context.xml ldap-synchronisation-context.xml tal cual se indinca en la documentación oficial, pero al desplegarlo el log me devuelve lso siguientes errores:
17:24:07,722 INFO  [STDOUT] 17:24:07,716  WARN  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server supports anonymous bind ldap://172.20.36.8:389
17:24:07,760 INFO  [STDOUT] 17:24:07,760  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not support simple string user ids and invalid credentia ls at ldap://172.20.36.8:389
17:24:07,771 INFO  [STDOUT] 17:24:07,771  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for a simple dn and pass word at ldap://172.20.36.8:389
17:24:07,796 INFO  [STDOUT] 17:24:07,796  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for known principal and  invalid credentials at ldap://172.20.36.8:389

Un saludo y gracias de antemano

Outcomes