1

I'm using version 3.1.1. I've enabled LDAP in the CoreModule.cs as follows:

1- Downloaded Abp.Zero.Ldap

2- I extened LdapAuthenticationSource as shown below:

public class MyLdapAuthenticationSource : LdapAuthenticationSource<Tenant, User>

{

public MyLdapAuthenticationSource(ILdapSettings settings, IAbpZeroLdapModuleConfig ldapModuleConfig)
        : base(settings, ldapModuleConfig)

{

}

}

3- Set module dependency as shown below:

[DependsOn(typeof(AbpZeroLdapModule))]

public class MyApplicationCoreModule : AbpModule

{

public override void PreInitialize()

{

Configuration.Modules.ZeroLdap().Enable(typeof (MyLdapAuthenticationSource));

}

}

4- Lastly I set 'Abp.Zero.Ldap.IsEnabled' setting as true.

While working on my own pc I can login with active directory username and password. But when I publish it to the server I get the error as shown below:

"An internal error occourred during your request"

Error

I'm waiting your support.

Best regards..

0 Answers0