AnsweredAssumed Answered

Alfresco & Open LDAP

Question asked by numlock on Mar 28, 2008
Latest reply on Mar 28, 2008 by michaelh
Bonjour à tous,

Je cherche à faire fonctionner Open LDAP avec Alfresco, mais je n'arrive pas à configurer le fichier ldap-authentication.properties d'Alfresco.


    # 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=%s
    #ldap.authentication.userNameFormat=uid=%s,ou=People,dc=mydomain,dc=com
    #ldap.authentication.userNameFormat=CN=%s,DC=mydomain,DC=com
    ldap.authentication.userNameFormat=CN=%s,ou=people,dc=mydomain,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://localhost:389
    #ldap.authentication.java.naming.provider.url=ldap://openldap.mydomain.com: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=reader
    #ldap.authentication.java.naming.security.principal=uid=reader,ou=people,dc=mydomain,dc=com
    #ldap.authentication.java.naming.security.principal=Manager
    #ldap.authentication.java.naming.security.principal=cn=Manager,dc=mydomain,dc=com
    #ldap.authentication.java.naming.security.principal=lectureLdap
    #ldap.authentication.java.naming.security.principal=reader
    # The password for the default principal (only used for LDAP sync)
    #ldap.authentication.java.naming.security.credentials=secret

Quelqu'un aurait-il une idée ?

Outcomes