Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3e413c5

Browse files
committed
Apply suggestion from PR review.
1 parentd02a792 commit3e413c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SSPI/NegotiateSSPIContextProvider.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ internal override void GenerateSspiClientContext(ReadOnlyMemory<byte> received,
2121
_negotiateAuth??=new(newNegotiateAuthenticationClientOptions{Package="Negotiate",TargetName=Encoding.Unicode.GetString(_sniSpnBuffer[i])});
2222
sendBuff=_negotiateAuth.GetOutgoingBlob(received.Span,outstatusCode)!;
2323
// Log session id, status code and the actual SPN used in the negotiation
24-
SqlClientEventSource.Log.TryTraceEvent($"TdsParserStateObjectManaged.GenerateSspiClientContext | Info | Session Id{_physicalStateObj.SessionId}, StatusCode={statusCode}, SPN={_negotiateAuth.TargetName}");
25-
24+
SqlClientEventSource.Log.TryTraceEvent("TdsParserStateObjectManaged.GenerateSspiClientContext | Info | Session Id {0}, StatusCode={1}, SPN={2}",_physicalStateObj.SessionId,statusCode,_negotiateAuth.TargetName);
2625
if(statusCode==NegotiateAuthenticationStatusCode.Completed||statusCode==NegotiateAuthenticationStatusCode.ContinueNeeded)
2726
break;// Successful case, exit the loop with current SPN.
2827
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp