matomo-org / matomo-org/plugin-LoginLdap

E-mail Address Suffix appended to username before ldap_search

Open
#123 1 comment 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

When I read this description of the setting:

> E-mail Address Suffix
> Appended to usernames to generate e-mail addresses for users that have none in LDAP. Set to, e.g., "@localhost.com".

I didn't expect the suffix to be added when looking for a matching uid, but that it was only used to construct an e-mail address if none was found in the LDAP record.

So when I filled this in, I shut myself out of the system.

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 tracing the “E-mail Address Suffix” setting through the LDAP authentication and user lookup paths; the payload names no files or tests. Confirm where the suffix is applied during ldap_search and where fallback e-mail addresses are generated. Done means usernames are searched without the suffix, while the suffix is used only when an LDAP record lacks an e-mail address.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.