Group created in LDAP server with single integer name cannot be synced with OC
Open
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:
- create a LDAP group with regular ou, with group-name/cn = 0
(single integer value) - sync ldap-group with OC server
- view group list using occ command
Expected Output:
- Group with name
0should be listed
Actual Output:
- No group with name
0is listed
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
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