matomo-org / matomo-org/plugin-LoginLdap
Troubles to find the role where is my user
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
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
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