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

Active Directory authentication fails after upgrade from 1.7.0 to 1.7.1 #5921

Closed
2 of 7 tasks
sorin-p opened this issue Feb 1, 2019 · 5 comments
Closed
2 of 7 tasks
Labels
Milestone

Comments

@sorin-p
Copy link

sorin-p commented Feb 1, 2019

  • Gitea version (or commit ref): 1.7.1
  • Git version: 2.11.0
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
2019/02/01 10:18:25 [T] Dialing LDAP with security protocol (1) without verifying: true
2019/02/01 10:18:26 [T] LDAP will bind directly via UserDN template: CN=%s,CN=Users,DC=blabladomain,DC=com
2019/02/01 10:18:26 [T] Binding with userDN: CN=UserName,CN=Users,DC=blabladomain,DC=com
2019/02/01 10:18:26 [D] LDAP auth. failed for CN=UserName,CN=Users,DC=blabladomain,DC=com, reason: LDAP Result Code 200 "Network Error": ldap: response channel closed
2019/02/01 10:18:26 [D] Template: user/auth/signin
2019/02/01 10:18:26 [I] Failed authentication attempt for UserName from ...

Description

Logging in with users from Active Directory source does not work after upgrade to v1.7.1
Deleted, recreated the users and the same error persists. Some fragments from the log were replaced with dummy values.

Screenshots

@lafriks
Copy link
Member

lafriks commented Feb 1, 2019

What OS are you run gitea on?

@sorin-p
Copy link
Author

sorin-p commented Feb 1, 2019

Linux armv7l

@nigeldixon
Copy link

Same report, but different error:
ldap: recovered panic in processMessages: runtime error: invalid memory address or nil pointer dereference

I'm running in docker but also on armv7 with SQLite db

@lunny lunny added the type/bug label Feb 6, 2019
@lunny lunny added this to the 1.7.2 milestone Feb 6, 2019
@techknowlogick techknowlogick modified the milestones: 1.7.2, 1.7.3 Feb 14, 2019
@mootboy
Copy link

mootboy commented Feb 18, 2019

Is this fixed by #6107?

@lafriks
Copy link
Member

lafriks commented Feb 19, 2019

I think it should be, please reopen if it is not

@lafriks lafriks closed this as completed Feb 19, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants