We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b61c50 commit 96bcb0bCopy full SHA for 96bcb0b
1 file changed
NtApiDotNet/Win32/Rpc/Transport/RpcTransportSecurity.cs
@@ -78,11 +78,11 @@ private string GetAuthPackageName()
78
switch (AuthenticationType)
79
{
80
case RpcAuthenticationType.Negotiate:
81
- return "Negotiate";
+ return AuthenticationPackage.NEGOSSP_NAME;
82
case RpcAuthenticationType.Kerberos:
83
- return "Kerberos";
+ return AuthenticationPackage.KERBEROS_NAME;
84
case RpcAuthenticationType.WinNT:
85
- return "NTLM";
+ return AuthenticationPackage.NTLM_NAME;
86
case RpcAuthenticationType.None:
87
throw new ArgumentException("Must specify an authentication type to authenticate an RPC connection.");
88
default:
0 commit comments