AnsweredAssumed Answered

Multiple OU Ldap Authentication

Question asked by samudaya on May 30, 2011
Latest reply on Jun 4, 2011 by samudaya
Hi friends,

I'm currently using Alfresco Community 3.4.d on Ubuntu 10.04 server. And run Open-LDAP (v3) on separate server. I only want to do LDAP authentication (no synchronizations).

(/opt/alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties)
ldap.authentication.userNameFormat=uid=%s,ou=abc,dc=xyz,dc=com
When I configured as above only abc users can login to the system.

ldap.authentication.userNameFormat=uid=%s,dc=xyz,dc=com
When I configured as above nobody can login to the system.

There are Multiple OUs. So how should I configure to login all the ous?

My LDAP Structure as follows;

com(DC)
|
|—xyz(DC)
|—-|—–abc(OU)
|—-||—-|
|—-||—-|—–uid="user1"
|—-||—-|—–uid="user2"
|—-|       
|—-|—–def(OU)
|—-||—-|
|—-||—-|—–uid="user3"
|—-||—-|—–uid="user4"
|—-|       
|—-|—–ghi(OU)
|—-|—–|
|—-|—–|—–ghi-1(OU)
|—-|—–||—-|
|—-|—–||—-|—–uid="user5"
|—-|—–||—-|—–uid="user6"                   
|—-|—–|
|—-|—–|—–ghi-2(OU)
|—-|—–||—-|
|—-|—–||—-|—–uid="user7"
                       
               

Thank you very much…….

Outcomes