Code Monkey home page Code Monkey logo

Comments (4)

LenhardErwan avatar LenhardErwan commented on June 30, 2024 2

Exactly,
my bad. But your response still helped me 😉

from ldap_contacts_backend.

blizzz avatar blizzz commented on June 30, 2024

We have a default mapping:

private const DEFAULT_MAPPING = [
		'FN' => 'displayName',
		'EMAIL' => 'mail',
		'PHOTO' => 'jpegPhoto',
		'ADR' => 'registeredAddress',
		'TEL' => 'telephoneNumber',
		'TITLE' => 'title',
		'ORG' => 'ou',
	];

(https://github.com/nextcloud/ldap_contacts_backend/blob/master/lib/Service/LdapEntryToVcard.php)

which indeed only includes the display name (what FN is for). But when you configure an connection, you can add custom mappings that would include all the names you would like. Since cultures are different, and LDAPs are different, the default mapping gives a good elementary setup, anything beyond is then up to the administrator.

from ldap_contacts_backend.

LenhardErwan avatar LenhardErwan commented on June 30, 2024

Thanks @blizzz,

@johkoenig, indeed this parameter can be easily customized in the application's configurations.

LDAP / AD integration -> Advanced -> Directory Settings -> User Display name Field
And in this field you can set cn for example which is the concatenation of first name and last name.
image

Example of attributes:
image

from ldap_contacts_backend.

blizzz avatar blizzz commented on June 30, 2024

this repo is not the LDAP backend, that's part of server.

from ldap_contacts_backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.