Implement System.Net.Security on Unix
Pre-requisite to this issue is: dotnet/corefx#2492
Targeting NegotiateStream work in RTM hence changing milestone to RTM
Changing milestone to RC2 per WCF requirement. The missing piece in System.Net.Security is NegotiateStream and the following work may help in implementation:
- PAL design for NegotiateStream: Pending work for RC2:
- Scrub the code moved from TFS
- Replace Interop.PlaceHolder.cs with actual Interop code of libgssapi_krb5 and libheimntlm
- Fallback logic to use NTLM credentials if GSSAPI fails. Current logic of checking status from gss_acquire_cred is not working.
- Revisit the Dispose calls in ReleaseHandle methods
- Interop code for libgssapi Pendng work for RC2:
- Testing with Windows client and Unix server (for RC2, it may turn out that only Unix client is needed)
- Testing on OSX. If the libgssapi_krb5 on OSX turns out to be Heimdal version (unlike MIT in case of Ubuntu), the APIs would need some tweaks. It would make sense then to switch to libgssapi.so on Ubuntu as well
- Revisit the Dispose calls in ReleaseHandle methods
- Interop code for libheimntlm (only the Interop\libheimntlm\* files are needed). Pending work for RC2:
- Shimming for libheimntlm APIs and some libcrypto APIs
- Moving SafeNtlm*Handles to Microsoft.Win32.SafeHandles namespace
- Testing on OSX
- Revisit the Dispose calls in ReleaseHandle methods
Pending NegotiateStream work beyond v1: see dotnet/corefx#3717 and dotnet/corefx#3718
Changing milestone To Future till the Windows implementation of NegotiateStream is available.
Windows implementation is checked-in via dotnet/corefx#5156 So targeting the xplat work for v1 RTM.
tagging as blocking-release since this is a required feature
The v1 support will be complete once PR# 6905 is merged to master. There are individual issues to track specific limitations in the libraries used by xplat implementation.
@shrutigarg any update?
@joshfree PR# 6905 is done and opened a pull request to merge into master. PR dotnet/corefx#7647 In parallel we are working on the issues too and getting them merged into the master.
NTLM implementation is done and merged . Nothing is left now in client side implementation.
NTLM implementation is done and merged . Nothing is left now in client side implementation.
What's left then? Can this issue be closed?
Client side part is done .But I am unsure if this is to track server implementation too? If no , we can close it.