-
Notifications
You must be signed in to change notification settings - Fork 27
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
Remote PowerShell session creation failing from Linux to windows with latest Kerberos package krb5-1.21.3-1.cm2. #104
Comments
Usually getting what kind of auth error the Windows system logs in its system log helps in these situations. |
Basically in this case the session is hanged for ever. Tried checking the Kerberos event logs but didn't find anything. Do you want me to check some more specific logs. |
Is there steps to collect some relevant traces from gssntlmssp communication front. |
gssntlmssp runs as a plugin of the gssapi library so there isn't much more except std gssapi logging facilities or gdb |
I am having the same issue. Is there a resolution to the problem? Thanks |
@matuag - Currently I don't have a resolution to the problem. To confirm what is the Linux distro you are using, and which is the last version of Kerberos package where it worked for you. |
We've got similar problem but using dotnet8 on Alpine Docker image to authenticate on Windows. I don't really know if the problem is in gssntlm or in krb5 package tbh, still investigating, but decided to ask here as well, since I had issue with gssntlm before, which was resolved, by patching gssntlm Error is not saying much: Authentication validation failed with error - InvalidToken. Here is a gssntlm log (nothing special I guess):
Thanks in advance for any information |
@rotiwari We are upgrading from CentOS 7 to Rocky Linux 9. |
@rotiwari Did you ever find a solution for your issue? I am facing a similar issue and the culprit in my case is the missing NTLM SSP library under CentOS Stream 9. |
I was trying to create a remote PowerShell session from a Linux Mariner distro to a windows machine and the same is failing. The same is working with krb5-1.19.4-2.cm2 version whereas it fails with krb5-1.21.3-1.cm2.
Please let me know what logs/additional info I can help with to get to the root cause of the issue. Or do we have some known issue reported around the same. It looks like there is fixes introduced for CVE-2024-37370 and CVE-2024-37371 as part of kerberos package and I am not very sure if that needs some additional changes as part of gssntlm-ssp package as well for handling aes256-sha1 session keys
This is the how the packet flow looks like
The text was updated successfully, but these errors were encountered: