AnsweredAssumed Answered

Multi-Tenant with LDAP on 3.2

Question asked by matthias on Aug 10, 2009
Hi all,

since some weeks I tried to get this working - without luck.

What I want to archive: Multi-tenancy with OpenLDAP and SSO though mod_auth_cas later on.

My questions:
- I put everything in alfresco-global.properties. Is that correct?
- According to http://forums.alfresco.com/en/viewtopic.php?f=10&t=14722 , LDAP sync is not working with multitenancy so I only configured LDAP auth. Here is my configuration:

ldap.authentication.allowGuestLogin=false
ldap.authentication.java.naming.security.authentication=DIGEST-MD5
ldap.authentication.active=true
ldap.synchronization.active=false
ldap.authentication.userNameFormat=%s

ldap.authentication.java.naming.provider.url=ldap://localhost:389
ldap.synchronization.java.naming.security.principal=appadmin@company.com
ldap.synchronization.java.naming.security.credentials=secret

synchronization.autoCreatePeopleOnLogin=true

ldap.synchronization.personQuery=(zarafaAccount=1)
ldap.synchronization.userSearchBase=dc=test,dc=ourdomain,dc=de
ldap.synchronization.userIdAttributeName=uid
ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userEmailAttributeName=mail
ldap.synchronization.userOrganizationalIdAttributeName=o
ldap.synchronization.personType=inetOrgPerson

- Do I miss something here? I commented out the group stuff because It gave me errors and I don't need it.

- When I try to login with user.name@company.com after creating the tenant company.com, I get:
javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.lang.IllegalStateException: Non-unique path: found : /app:company_home/app:dictionary/app:space_templates/cm:Homefolder 0

- Why is this happening?

Thanks in advance!

Matthias.

Outcomes