S.DS.P.linux
0.0.2-alpha.1
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
<PackageReference Include="S.DS.P.linux" Version="0.0.2-alpha.1" />
paket add S.DS.P.linux --version 0.0.2-alpha.1
#r "nuget: S.DS.P.linux, 0.0.2-alpha.1"
// 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 | Versions 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. |
-
.NETCoreApp 2.1
- Microsoft.NETCore.App (>= 2.1.0)
- System.Security.AccessControl (>= 4.5.0)
- System.Security.Permissions (>= 4.5.0)
- System.Security.Principal.Windows (>= 4.5.0)
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.