-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
SSPI auth error after update to 1.20.0 #25952
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
Comments
Hello, I also have a problem when I update to 1.20. I am using PostgreSQL. How can share the logs? |
Can you try this Fix SSPI auth panic #25955 ? TBH it seems that the SSPI auth module hasn't been maintained for long time, I do not have the experience of debugging the SSPI auth modules. If there are other more difficult problems .... maybe it needs some people who have related experience to help. |
After reading the code again, I guess the real problem is that the SSPI auth itself fails.
If the SSPI login succeeds, there should be no such panic? It looks like the panic only occurs when the login attempt fails. |
I dont think the auth fails because with 1.19.4 it is working and also if auth fails it should not panic. I will try your fix but need some time to compile it my self. |
@wxiaoguang With the fix in #25955 the auth is working again. I still get the same error in the logfile but in continues and finally it says Authenticated. |
Since it works, I think it's safe to ignore the error log In 1.19, there is also an error, but it's not logged as that way |
Try to fix #25952 Co-authored-by: Giteabot <[email protected]>
Try to fix go-gitea#25952 Co-authored-by: Giteabot <[email protected]>
Backport #25955 by @wxiaoguang Try to fix #25952 Co-authored-by: wxiaoguang <[email protected]>
Backport go-gitea#25955 by @wxiaoguang Try to fix go-gitea#25952 Co-authored-by: wxiaoguang <[email protected]> (cherry picked from commit 227c3b6)
Description
After update from 1.19.4 to 1.20.0 the SSPI auth is not working anymore.
I also did a fresh install of 1.20.0 on another PC in the same domain and I get the same error message.
A fresh install of 1.19.4 doesn´t have the issue.
Gitea Version
1.20.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/AnDann/8637f5e3a29719d34ded21dbd8c4adcc
Screenshots
Git Version
2.40.1
Operating System
Windows Server 2016
How are you running Gitea?
gitea-1.20.0-gogit-windows-4.0-amd64 from https://dl.gitea.com/gitea/1.20.0/ running as a windows service under a domain user
Database
MSSQL
The text was updated successfully, but these errors were encountered: