Base solution for your next web application
BLACK FRIDAY
From Nov 21
To Dec 1
XXDAYS : XXHRS : XXMIN : XXSEC
SAVE UP TO$3K
Also valid for the
existing customers!
Open Closed

is possible enable multitenant and LDAP together ? #891


0
charlielv created

we have a scenario that we have two plants in the company, the users are in the same company domain, but the data for each plant should be isolated. So we are thinking to use tenant to isolate the data, and also enable to LDAP to make user easier access the system. But from ABP's document, it ask to disable the other while enable either of them. Any suggestion would be appreciate !!


1 Answer(s)
  • 0
    hikalkan created
    Support Team

    It can work together, no problem. But current Ldap auth code can not isolate it. You may need to change it's code.

    This is the LdapAuthenticationSource class: <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/blob/master/src/Abp.Zero.Ldap/Ldap/Authentication/LdapAuthenticationSource.cs">https://github.com/aspnetboilerplate/mo ... nSource.cs</a>

    And this is the document you need to understand and change: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/User-Management#external-authentication">http://www.aspnetboilerplate.com/Pages/ ... entication</a>