cancel
Showing results for 
Search instead for 
Did you mean: 

OpenLDAP+Alfresco

pinguim
Champ in-the-making
Champ in-the-making
Viva,

Tenho andado a tentar configurar o Alfresco com autenticação num servidor OpenLDAP mas sem sucesso.
O Alfresco arranca sem registo de erros mas a autenticação não é feita com sucesso.
A máquina onde está instalado o Alfresco e o LDAP é um debian etch. A versão do Alfresco é o alfresco-community-tomcat-2.9.0dev.tar.gz
Os users no LDAP residem todos numa OU com o nome People. Ex: uid=penguin,ou=People,dc=domain,dc=tls
A configuração usada é a seguinte:
chaining-authentication-context.xml

   
   
   
   
       
           
       
       
           
       
       
           
       
   
   
   
       
           
       
       
            uid=%s,ou=People,dc=domain,dc=tls
       
   
   
   
   



ldap-authentication.properties
ldap.authentication.userNameFormat=uid=%s,ou=People,dc=domain,dc=tls

# 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://ldap.domain.tls: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=

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

ldap-authentication-context.xml

   
   
   
   
   
       
           
       
       
           
            uid=%s,ou=People,dc=domain,dc=tls
       
   
   
   
   
       
           
               
               
                    com.sun.jndi.ldap.LdapCtxFactory
               
               
               
               
               
               
                    ldap://ldap.domain.tls:389
               
               
               
               
               
               
               
                    simple
               
               
               
               
               
                    cn=admin,dc=domain,dc=tls
               
               
               
               
                    secret
               
           
       
   
   
1 REPLY 1

ivo_costa
Champ in-the-making
Champ in-the-making
Olá pinguim

tens que preencher estas linhas:

# The default principal to use (only used for LDAP sync)
ldap.authentication.java.naming.security.principal=

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

só assim o alfresco sincroniza as accounts com o ldap
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.