Skip to content

Commit d37511f

Browse files
authored
Mention gss-ntlmssp package for NTLM on Linux (#10359)
* Mention gss-ntlmssp package for NTLM on Linux Closes dotnet/runtime#101058 * Code review feedback * Code review feedback * Update NetworkCredential.xml
1 parent 2e9b69c commit d37511f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

xml/System.Net/NetworkCredential.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
## Remarks
8080
The <xref:System.Net.NetworkCredential> class is a base class that supplies credentials in password-based authentication schemes such as basic, digest, NTLM, and Kerberos. Classes that implement the <xref:System.Net.ICredentials> interface, such as the <xref:System.Net.CredentialCache> class, return <xref:System.Net.NetworkCredential> objects.
8181
82+
> [!NOTE]
83+
> On Unix platforms, use of NTLM authentication may require installing the NTLM plugin for the GSSAPI layer used by the implemention. On Ubuntu distributions, the package is called `gss-ntlmssp`. Alternatively, applications may opt in for a managed implementation of NTLM by setting the `_UseManagedNtlm` .csproj property (.NET 9+ only), or setting the `System.Net.Security.UseManagedNtlm` AppContext switch.
84+
>
85+
> On Windows, NTLM and Negotiate (Kerberos) authentication always depend on GSSAPI of the operating system.
86+
8287
This class does not support public key-based authentication methods such as Secure Sockets Layer (SSL) client authentication.
8388
8489

0 commit comments

Comments
 (0)