S.DS.P.linux 0.0.2-alpha.1

This is a prerelease version of S.DS.P.linux.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package S.DS.P.linux --version 0.0.2-alpha.1
NuGet\Install-Package S.DS.P.linux -Version 0.0.2-alpha.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="S.DS.P.linux" Version="0.0.2-alpha.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add S.DS.P.linux --version 0.0.2-alpha.1
#r "nuget: S.DS.P.linux, 0.0.2-alpha.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install S.DS.P.linux as a Cake Addin
#addin nuget:?package=S.DS.P.linux&version=0.0.2-alpha.1&prerelease

// Install S.DS.P.linux as a Cake Tool
#tool nuget:?package=S.DS.P.linux&version=0.0.2-alpha.1&prerelease

Summary

Proof-Of-Concept port of core-fx "System.DirectoryServices.Protocols" to Linux (using libldap)

The ideal port would be fully managed of course, but unfortunately isn't here (yet?), so for the time being...

Nuget

https://www.nuget.org/packages/S.DS.P.linux

Prerequisites

  • Linux (obviously)

  • .NET Core 2.1(+)

  • libldap

What isn't working / known issues

  • Most of the SessionOptions aren't implemented
  • Referrals are not implemented
  • Only Anonymous and Basic authentication are work
  • No LDAPS, but StartTransportLayerSecurity works

Tested

  • Debian 9-x64, .NET Core SDK 2.1.300, libldap-2.4-2
  • Directories:
  • 389 Directory Server (1.3.4.0)
  • Active Directory (2012 R2)

Disclaimer

This is by no means even remotely production ready. Use at your onwn risk

But for the time being it suits my personal needs and might serve yours.

Relevant github issue

Support System.DirectoryServices.Protocols on Linux/Mac #24843

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.2-alpha.2 618 10/3/2018
0.0.2-alpha.1 548 8/6/2018

Not even pre-pre-alpha. Don't even dare using this on a production environment.