question

tobias-steinmetz avatar image
0 Votes"
tobias-steinmetz asked cheong00 answered

Will System.DirectoryServices work in Future?

We are currently using System.DirectoryServices to import AD users into our software. Microsoft has now announced that in future this will only work via LDAPs.
Some colleagues are concerned that System.DirectoryServices can no longer be used and that System.DirectoryServices.AccountManagement must be used instead. Are you justified in worrying or will System.DirectoryServices continue to function without any problems in the future?

dotnet-runtime
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

cheong00 avatar image
0 Votes"
cheong00 answered

???

I thought that they're now only implementing System.DirectoryServices.Protocols instead of System.DirectoryServices.AccountManagement on Linux/MacOS because it's "a) the API was meant to support any LDAP server as opposed to AccountManagement which was more ActiveDirectory only, and b) the API in Protocols would give you most of the functionality without really exposing much of things that are Windows-only." to quote their reply.

And System.DirectoryServices.AccountManagement on Linux/MacOS will have to wait. You can see the issue is still "Open", and IMO it would be "Closed" if they plan to drop it.

Where have you read the anouncement?


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.