Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net 6 Ubuntu jammy 22.04 base image upgrade. GSSAPI NTLM error #102

Closed
SaravanakumBalach opened this issue Apr 17, 2024 · 3 comments
Closed

Comments

@SaravanakumBalach
Copy link

Hi,

We are planning to upgrade our .Net core MVC application from .Net 6 to .Net 8 version. It is written in C#. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. We target ubuntu 22.04 version jammy tag with amd64 architecture.

This is our base image in the Docker file and the following line updates our package list.

FROM artifactory.xyz.com/dockerhub-microsoft/dotnet/aspnet:6.0-jammy-amd64 AS base

&& apt-get update && apt-get install -y --no-install-recommends curl gss-ntlmssp tzdata \

When our application tries to authenticate and open SSRS reports we get "GSSAPI operation failed with error - Unspecified GSS failure. Minor code may provide more information (Crypto routine failure)"

We were previously using focal base image in 20.04 version and was able to render SSRS reports. Did something change with gss-ntlmssp package in 22.04 version? I was reading some other posts where it says this issue is related to incompatibilities between OpenSSL 3.0 and the older cryptographic algorithms involved in NTLM authentication. Any thoughts on how to fix this issue? Appreciate your kind response.

@simo5
Copy link
Collaborator

simo5 commented Apr 17, 2024

Sorry I do not know what version is packaged in Ubuntu versions, please provide information on what version of gss-ntlmssp is in use and what version of openssl it is compiled against.

You may want to also look at the recently closed #97 and open a bug in Ubuntu to update gss-ntlmssp accordingly if that is an issue.

@SaravanakumBalach
Copy link
Author

Thanks for your response @simo5. We are using ubuntu 22.04 which has gss-ntlmssp 0.7.0 version and openssl 3.0.2 version.

@simo5
Copy link
Collaborator

simo5 commented Apr 17, 2024

In this case it is not a bug, Ubuntu 22 simply has an obsolete version of gss-ntlmssp.
I suggest you rebuild gss-ntlmssp anew, there are countless of improvements, some developed together with the .NET maintainers in later versions.

@simo5 simo5 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants