nextcloud / nextcloud/ldap_write_support

More LDAP group integration

Open
#930 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
PHP
Stars
33
Forks
14
Avg merge
1d 4h
Merged PRs (30d)
13

Description

Feature request

Hi, I'm using Nextcloud 30.0.6 with LDAP/AD integration and ldap_write_support. I'm using FreeIPA as LDAP server. Your plugin is very useful for my organization.

I would like to have and option or maybe a LDIF template for managing groups in LDAP because I need to personalize the creation of groups. Currently I modify the LDAPGroupManager.php to create groups in FreeIPA under another group (nextcloud_users). Here I paste part of my modified createGroup function

$parent_group_dn = "cn=nextcloud_groups,cn=groups,cn=accounts,dc=lyrtron,dc=lan"; $member_info = ["member" => $newGroupDN];

I don't have any knowledge of PHP (I'm Electrical Engineer with knowledge in embedded systems), maybe I'm doing something wrong becuase I can create groups in FreeIPA but Nextcloud don't show the users inside the groups.

Thanks!

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 reading LDAPGroupManager.php and its createGroup function, then compare the current group and member handling with the FreeIPA DNs shown in the report. Reproduce the group creation and membership visibility behavior in a Nextcloud 30.0.6 and FreeIPA setup; done means the requested option or LDIF template is specified and groups created under the intended parent show their users in Nextcloud.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.