pentr32 / LDAP-Authentication

C# Authentication via LDAP. Works on ASP .NET, MVC and Console App.
9 stars 2 forks source link

with OpenLDAP #2

Open asaadhoussam opened 1 year ago

asaadhoussam commented 1 year ago

Here using the Active Directory server from Microsoft, Instead of that I want to use the openLDAP server, should I write a new LDAPUtil.cs file? Or just change the variables in the existing file, or change other files?

pentr32 commented 1 year ago

Here using the Active Directory server from Microsoft, Instead of that I want to use the openLDAP server, should I write a new LDAPUtil.cs file? Or just change the variables in the existing file, or change other files?

You'll also need the novel.directory.ldap nuget and I just read the description again, since it has been long time I made this repository. In the nuget description it says that is working with any ldap server including AD from Microsoft. So I think you just have to change the variables and give a try! I also recommend you to have a look over the IdentityServer and read about the OAuth and OpenID connect