LDAP user sync does not work (here) #2047

Closed
opened 2025-11-02 04:22:17 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @cklabautermann on GitHub (Jul 12, 2018).

  • Gitea version (or commit ref): 1.4.0, 1.4.2,1.4.3,1.5.0RC2
  • Git version: 2.7.4-0ubuntu1.4
  • Operating system: Ubuntu Server 16.04.4 AMD64
  • 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:

Description

my auth setup includes

  • bind to a ms-AD unencrypted
  • with a RO userid
  • a user search base where the users are
  • a user filter pointing to a group in a completely different OU
  • user synchronisation activated (at least marked)

Things that work:

  • manually adding a user and authenticating them via LDAP. If a user is not member in the filter group, they can not login.

Things that do not work:

  • users in my filter group being automatically synchronized

Additionally all users authenticating via ldap get deactivated if I dare to execute a manual user synchronisation via web frontend.

Can anybody tell me what I am doing wrong?
Not sure if screenshots could help here but I can upload some on demand.

Thanks,
Claudio

Originally created by @cklabautermann on GitHub (Jul 12, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.4.0, 1.4.2,1.4.3,1.5.0RC2 - Git version: 2.7.4-0ubuntu1.4 - Operating system: Ubuntu Server 16.04.4 AMD64 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description my auth setup includes - bind to a ms-AD unencrypted - with a RO userid - a user search base where the users are - a user filter pointing to a group in a **completely different** OU - user synchronisation activated (at least marked) Things that work: - manually adding a user and authenticating them via LDAP. If a user is not member in the filter group, they can not login. Things that do not work: - users in my filter group being automatically synchronized Additionally all users authenticating via ldap **get deactivated** if I dare to execute a manual user synchronisation via web frontend. Can anybody tell me what I am doing wrong? Not sure if screenshots could help here but I can upload some on demand. Thanks, Claudio
GiteaMirror added the issue/staletype/bug labels 2025-11-02 04:22:17 -06:00
Author
Owner

@stale[bot] commented on GitHub (Jan 18, 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[bot] commented on GitHub (Jan 18, 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.
Author
Owner

@lunny commented on GitHub (Feb 7, 2019):

@cklabautermann is this still a problem?

@lunny commented on GitHub (Feb 7, 2019): @cklabautermann is this still a problem?
Author
Owner

@cklabautermann commented on GitHub (Feb 7, 2019):

@lunny yes, unfortunately it still does not work. Can you help?
Thanks in advance

@cklabautermann commented on GitHub (Feb 7, 2019): @lunny yes, unfortunately it still does not work. Can you help? Thanks in advance
Author
Owner

@stale[bot] commented on GitHub (Apr 8, 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[bot] commented on GitHub (Apr 8, 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.
Author
Owner

@stale[bot] commented on GitHub (Apr 22, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Apr 22, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2047