Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix NetEventSource logging for Windows auth on Linux#35918

Merged
davidsh merged 1 commit intodotnet:masterfrom
davidsh:ntauth_logging_fix
Mar 10, 2019
Merged

Fix NetEventSource logging for Windows auth on Linux#35918
davidsh merged 1 commit intodotnet:masterfrom
davidsh:ntauth_logging_fix

Conversation

@davidsh
Copy link
Contributor

@davidsh davidsh commented Mar 10, 2019

While debugging some Linux enterprise auth (Negotiate/NTLM) scenarios, I discovered that the
logging I added in PR #35383 wasn't working. This was due to not passing in a 'null' value
for the context object for NetEventSource.Info. It was using the string object as the
context object and not logging the string data.

As part of fixing that I optimized some code for remembering what auth package (NTLM
or SPNEGO) is used.

@davidsh davidsh added os-linux Linux OS (any supported distro) area-System.Net.Http labels Mar 10, 2019
@davidsh davidsh added this to the 3.0 milestone Mar 10, 2019
@davidsh davidsh self-assigned this Mar 10, 2019
While debugging some Linux enterprise auth (Negotiate/NTLM) scenarios, I discoverd that the
logging I added in PR dotnet#35383 wasn't working. This was due to not passing in a 'null' value
for the context object for NetEventSource.Info. It was using the string object as the
context object and not logging the string data.

As part of fixing that I optimized some code for remembering what auth package (NTLM
or SPNEGO) is used.
@davidsh davidsh force-pushed the ntauth_logging_fix branch from a502963 to 954a0f3 Compare March 10, 2019 01:52
@davidsh
Copy link
Contributor Author

davidsh commented Mar 10, 2019

/azp run corefx-outerloop-linux

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@davidsh davidsh merged commit 21db29a into dotnet:master Mar 10, 2019
@davidsh davidsh deleted the ntauth_logging_fix branch March 10, 2019 05:22
Drawaes pushed a commit to Drawaes/corefx that referenced this pull request Mar 11, 2019
While debugging some Linux enterprise auth (Negotiate/NTLM) scenarios, I discovered that the
logging I added in PR dotnet#35383 wasn't working. This was due to not passing in a 'null' value
for the context object for NetEventSource.Info. It was using the string object as the
context object and not logging the string data.

As part of fixing that I optimized some code for remembering what auth package (NTLM
or SPNEGO) is used.
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…5918)

While debugging some Linux enterprise auth (Negotiate/NTLM) scenarios, I discovered that the
logging I added in PR dotnet/corefx#35383 wasn't working. This was due to not passing in a 'null' value
for the context object for NetEventSource.Info. It was using the string object as the
context object and not logging the string data.

As part of fixing that I optimized some code for remembering what auth package (NTLM
or SPNEGO) is used.

Commit migrated from dotnet/corefx@21db29a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Http os-linux Linux OS (any supported distro)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants