Alfresco & Open LDAP

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

Alfresco & Open LDAP

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 ?
4 Replies
michaelh
Active Member

Re: Alfresco & Open LDAP

J'ai en effet une idée : dire ce que vous voulez faire, et l'expliquer soigneusement !

Dire "je n'arrive pas à" en collant un fichier de configuration (parfaitement inexploitable) sans aucune explication est la plus belle des façons de … ne pas avoir de réponse. Voir (et appliquer) ce message qui explique les choses.

En bref, et au risque de vous décevoir, on a toujours pas inventé la boule de cristal  :roll:
numlock
Member II

Re: Alfresco & Open LDAP

Bon ben je vais tenter de mettre en place une authentification unique avec CAS comme expliqué dans le wiki
rguinot
Customer

Re: Alfresco & Open LDAP

Je peux t'assurer Alfresco + OpenLDAP fonctionne parfaitement nous l'utilisons tous les jours.
Cependant, tu ne nous donnes aucune info pour t'aider….
michaelh
Active Member

Re: Alfresco & Open LDAP

Surtout CAS n'est pas franchement plus simple que LDAP … et ne répond pas au même besoin.