-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[LDAP] Can't map LDAP groups to Gitea Orgs/Teams #21159
Comments
Is this a duplicate of #19555? In short, I don’t think this feature is supported. |
The log doesn't mention (I would publish it, but it contains personal data) |
Here's the abridged version:
|
@drequivalent |
Yes, of course. Sorry for typo. |
Please, help! I'm stuck! |
I have put This seems to have worked, and now I have the teams populated. I think, this needs a better explanation in documentation and settings UI. Thanks, @svenseeberg, I really appreciate your help! |
sorry, I am running v1.19 and authenticating against Active Directory server 2016 |
Can you look into your log files on your AD server and see if there are any problems with the queries? And can you provide examples of your group and user objects? |
THanks for getting back to me Sven. The Event viewer shows no errors, only mentions that I am working currently over LDAP and it woiuld like to move to LDAPS. When you say examples, what would you like to see? OUtput from ldapsearch, or Attribute editor or........? |
In the meantime I will give you this output: here is the DN of my user Here is an LDAPsearch output filtering for member Here is the output from Gitea: Gitea's search text is literally verbatom what I am getting out of ldapsearch. |
So, looking through this with chatGPT, it is telling me the problem is at the start of the search string [(&()... This empty bracket is the issue and I can't work out how to get it populated. |
Looks like you're running into #23615 |
Indeed! However, when I populate the 'Verify Group Memebership in LDAP' it stops searching all together. my version is 1.19.0 built with GNU Make 4.3, go1.20.2 . I will update the other issue though |
* giteaofficial/main: Add missing translation (go-gitea#26926) Vendor `jquery.are-you-sure` with strict mode fixes (go-gitea#26901) Fix the secret regexp pattern on web page (go-gitea#26910) Add @chenrui333 as maintainer (go-gitea#26917) Move notification interface to services layer (go-gitea#26915) fetch emails of currently displayed user on admin page (go-gitea#26918) Improve LDAP group config documentation, fixes go-gitea#21159 (go-gitea#21227) update footer link to new landing page (go-gitea#26916) Remove `Named` interface (go-gitea#26913) Refactor secrets modification logic (go-gitea#26873) Add missing `reqToken()` to notifications endpoints (go-gitea#26914) feat(API): add routes and functions for managing user's secrets (go-gitea#26909) Move feed notification service layer (go-gitea#26908) Extract common code to new template (go-gitea#26903) Move ui notification to service layer (go-gitea#26907) Remove duplicated notify mail configuration on tests (go-gitea#26912) Move indexer notification to service layer (go-gitea#26906) # Conflicts: # templates/base/footer_content.tmpl
Description
Trying to join Gitea into FreeIPA's LDAP.
Users work fine, but then I need to map the LDAP user groups to Gitea teams in order to manage access in a more centralized way.
The settings are as follows:

Organization is present:

Teams as well:

Updating external user information, though, is not joining anyone to any Teams.
What am I doing wrong?
Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Gitea binary build
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: