sherlock1982 / Novell.Directory.Ldap.NETStandard

LDAP client library for .NET Standard 1.3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LDAP client library for .NET Standard 1.3

.NET Core, .NET Framework 4.6, Universal Windows Platform

Windows Build Build status
Linux Build Build Status
NuGet

The library is originaly coming from Novell (https://www.novell.com/developer/ndk/ldap_libraries_for_c_sharp.html) - really old code base (looks like a tool-based conversion from Java - this seems to be the original java code repo http://www.openldap.org/devel/gitweb.cgi?p=openldap-jldap.git;a=summary - first commit 2000 :)).

First commit in this repo is the original source code from Novell.

Ported to .NET Standard 1.3 (https://docs.microsoft.com/en-us/dotnet/articles/standard/library): works on .NET Core, .NET Framework 4.6, Universal Windows Platform.

The main changes were around:

  • thread usage: the library was extensively using Abort, Interrupt, ThreadInterruptedException, ... - which is not recommended and also not supported in .NET Core.
  • serialization support for a limited number of types was deleted
  • ssl support: the library was using Mono.Security for this. Now is implemented using SslStream from NetStandard

The library has some samples which are not included in the solution and are in the original state - they may or may not compile on .NET Core - but they should be compilable on .NET Core with minimal work.

About

LDAP client library for .NET Standard 1.3

License:MIT License


Languages

Language:C# 100.0%