owncloud / owncloud/user_ldap

Group created in LDAP server with single integer name cannot be synced with OC

Open
#500 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
17
Forks
19
Avg merge
11h 40m
Merged PRs (30d)
2

Description

Description

Using ldap server there is no problem to create group with single integer name but actually we donot get those group as oc group after a sync.

Steps to reproduce:

  1. create a LDAP group with regular ou, with group-name/cn = 0 (single integer value)
  2. sync ldap-group with OC server
  3. view group list using occ command

Expected Output:

  • Group with name 0 should be listed

Actual Output:

  • No group with name 0 is listed

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 reproducing the LDAP group sync with a group whose name is 0, then trace the sync and group-listing paths used by the occ command. Done means the synchronized group named 0 appears in the occ group list without breaking other group names.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.