nextcloud / nextcloud/server

Offer LDAP setting to not put 2nd User Display Name in brackets

Open
#36,824 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: ldap
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

We store in our LDAP firstname cn (Maria) and lastname sn (Tester) as separate fields and do not provide combined displayName (Maria Tester).

Thus we have defined sn as a 2nd User Display Name Field in the advanced LDAP settings. However, this field is always shown in brackets as Maria (Tester) (even in avatars as M(T)) which is annoying to users.

We suggest to add two options to the advanced LDAP settings:

  • Show 2nd User Display Name Field in brackets.
  • Show 2nd User Display Name Field capitalized.

The latter is very useful when you have an international user base, where you often have to guess what is the first and the last name: Maria TESTER.

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 locating the advanced LDAP settings and the code that formats user display names and avatars; the issue does not name specific files or tests. Trace how the second User Display Name Field is stored and rendered, then verify that separate options control brackets and capitalization consistently for names and avatars.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.