Base solution for your next web application
Open Closed

LDAP MultiTenancy #7902


User avatar
1
SASIMEXICO created

We've been thinking about using LDAP for user authentication. Acording to the Documentation (Both ASP.NET ZERO and ABP) we have to enable it on our Core Project Module, wich is fine and has no issues for single tenant scenarios. However, when facing a multi tenant scenario, there seem to be 2 options:

1. Multiple ILdapSettings (per-tenant)
2. Overriding AppLdapAuthenticationSource methods

As far as we know there's only only one ILdapSettings, and we cannot fin any documentation regarding wich methods should be overwritten nor how.
Besides, any of this solutions results in a "1 LDAP connection => 1 tenant" situation, we'd like to have all tenants in one single LDAP tree, for example one tenant per OU.
What would be the proper way to archive this?


2 Answer(s)