owncloud / owncloud/user_ldap

LDAP users with username containing only integers have trouble when adding them into a LDAP group

Open
#501 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

LDAP user with full integer name can be added into any OC created groups but if we add those users into LDAP group and sync them with OC, we get the user as OC user but we do not get those users as members of group we assigned before!

Steps to reproduce

  1. create a LDAP user with userid: 123
  2. create a LDAP group with cn: grp1, memberuid: 123
  3. sync LDAP users and groups with OC
  4. see members list of group grp1 using occ command

Expected output

  • User 123 should be listed

Actual output

  • User 123 is not 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

Reproduce the issue with an LDAP user whose userid is 123 and an LDAP group with memberuid: 123, then sync LDAP users and groups with ownCloud. Use the occ command to inspect group grp1; done means user 123 appears in the group's member list.

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
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.