nextcloud / nextcloud/server

Config option to disable gidnumber support

Open
#57,091 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: ldap
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Can we please get a config option to disable the behavior added in #2640 ASAP?

It took me like 3 hours to debug why some LDAP Users are members in a group where they are not supposed to be, just to find this undocumented feature, in combination with some gidnumber collisions used by other different systems causing people to be added to groups in our Nextcloud instance where they are not supposed to be.

We need to disable this behavior.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the behavior introduced in issue #2640 and locating the LDAP gidnumber handling in Nextcloud Server. Define how the new configuration option disables that behavior, then verify it prevents unintended group membership when gidnumber collisions occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.