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

User login does not work after changing Authentication Source without BIND password #5559

Open
2 of 7 tasks
joga252 opened this issue Dec 18, 2018 · 4 comments
Open
2 of 7 tasks
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug

Comments

@joga252
Copy link

joga252 commented Dec 18, 2018

  • Gitea version (or commit ref): 1.6.1
  • Git version: 2.20.0 64 bit for Windows
  • Operating system: Windows Server 2016
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL Express
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

After deactivating Enable User Synchronization in Administration area and saving changes without providing the Bind Password for the LDAP connection (see the blue boxes), user login is no more possible. Saving again with provided password re-enables users to login to the website.

Screenshots

image

@lafriks
Copy link
Member

lafriks commented Dec 23, 2018

Bind password is needed for this auth source to work if your server does not allow anonymous connections

@lafriks lafriks added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Dec 23, 2018
@c-key
Copy link

c-key commented Dec 28, 2018

The Problem is that on every change on the site the "Bind Password" must be refilled. If the field is blank and for example the option "Enable User Synchronization" will be deactivated this auth source doesn't work. After refill the password and save the site without any modification the auth source will work as normal.
Is it a security feature that the bind password must be refilled on every change on the site or is this a bug?

@lafriks lafriks added type/bug and removed type/question Issue needs no code to be fixed, only a description on how to fix it yourself. labels Jan 23, 2019
@lafriks
Copy link
Member

lafriks commented Jan 23, 2019

yes bind password if it was set should be shown here

@stale
Copy link

stale bot commented Mar 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Mar 24, 2019
@lunny lunny added issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug
Projects
None yet
Development

No branches or pull requests

4 participants