LDAP - more flexibility in group-member-association
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Actually, user_ldap application does not permit to precise the exact configuration of the directory in terms of groups membership. The only parameter we can choose is 'Group-Member association', where one cannot mention a particular attribute's name, only selection from drop-down list is possible. Later, the application use this choice to select an attribute name AND select the supposed type of content of this attribute (DN or UID).
Unfortunately, there is no standard of groups implementation in LDAP. There are several types of implementation that cannot be used with NextCloud. So, NextCloud should be a little bit more flexible:
- Ask the name of attribute, used for group-member association at the level of groups (membreuid, members,...), the name of the attribute could be done as a text, not only as a selection from a list;
- Ask the type of data, used in this attribute (DN or an attribute's content);
- If the type of data is NOT DN - ask the name of user's attribute, used to create the association (uid, mail, samaccoutname,...).
I think that such improvement (with good documentation) could decrease the number of questions about LDAP configuration and bug-reports about LDAP groups not working.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the LDAP group-member association configuration and its documentation; done means supporting custom group attributes, selectable DN or non-DN values, a user attribute for non-DN matching, and documenting the configuration.
Written by the indexing model from the issue text.
Assessment
- Domain
- authorization, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100