matomo-org / matomo-org/plugin-LoginLdap

Troubles to find the role where is my user

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

Nobody has claimed this yet.

Dominant language
PHP
Stars
37
Forks
30
Avg merge
22h 53m
Merged PRs (30d)
19

Description

Hello,
I have a little issue when I configure the plugin.

My group is cn=piwik-users,ou=roles,dc=domain,dc=com
It look so in ldapdump

cn=piwik-users,ou=roles,dc=domain,dc=com
cn: piwik-users
roleOccupant: uid=user,ou=people,dc=domain,dc=com
fdApplicationAllowed: cn=piwik,ou=apps,dc=domain,dc=com
objectClass: organizationalRole
objectClass: fdApplicationRights

So I use roleOccupant in place of memberOf attribut.

But Piwik don't find an member in the group.

What do I wrong ?

Cheers

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

The issue names no source file or test; start by tracing the plugin's LDAP group-membership configuration and handling of roleOccupant. Reproduce the setup with the supplied DNs and verify whether the user is recognized as a group member, then document the required configuration or attribute once the behavior is understood.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.