Base solution for your next web application
Open Closed

LDAP Authentication using a remote Active Directory Server #8681


User avatar
0
ESTeam created

Hi,

I'm using ASP.NET Zero with ASP.NET Core 3.1 in the Back-end and Angular 8.2 in the Front-end. I've already configured and successfully tested LDAP Authentication using my company domain (the same as my machine) and my user (the one that i use to logon in my company network). It's possible (and how) to connect to a remote Active Directory Server overriding the methods from class LdapAuthenticationSource?

Best regards, Dirceu


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    If your app can access to remote LDAP, it should work without overriding LdapAuthenticationSource. Did you face any problem ?

  • User Avatar
    0
    ESTeam created

    I haven't had the opportunity to test it yet with a remote active directory server, I just wanted to anticipate any problems that might occur. I saw some articles saying that we should use the ip/name of the active directory server and the actual domain - something like this: ConnectString = LDAP://RemoteHost/dc=domain,dc=domain2,dc=domain3

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ESTeam

    I'm not sure abou the correct ConnectionString. You might get help from manager of the Active Directory you are trying to connect.