Hello,
is it possible to allow LDAP (Active Directory) Authentication on Host side? If I enable LDAP using "Configuration.Modules.ZeroLdap().Enable(typeof(AppLdapAuthenticationSource));" in CoreModule class than I see LDAP configuration only in tenant settings.. Our customer need LDAP (Active Directory) Authentication on Host side.
Thank you Stanislav Šnyta
4 Answer(s)
-
0
Hi,
You can move this section to Host settings page https://github.com/aspnetzero/aspnet-zero-core/blob/7066bcc6dde58f5063d6509de40bc925bf46bf62/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/Areas/AppAreaName/Views/Settings/Index.cshtml#L312 and allow host admin to configure LDAP settings for Host users.
-
0
Hello,
thank you, I will try to move the section to Host settings.
Please clarify me what is meant by "allow host admin to configure LDAP settings for Host users". I'm sorry, but it's not clear to me, it's a setting in the application or a some changes in the code?
-
0
Hi @staanndddaaa
These settings are scoped for Host as well. So, if you use
SettingManager.ChangeSettingForApplicationAsync
inHostSettingsAppService
, these settings will be saved to database for Host users. This was what I meant. -
0
Hello,
we made the adjustments you described above and everything seems to be working properly.
Thank you for your help