NethServer Version: 7.9.2009 Module: nethserver-directory
Nethserver LDAP maps:
uid => shortname
cn => full name
When binding to an external LDAP, is it possible to alter those settings?
The external LDAP is a Synology. It has full name in “gecos”,
while cn & uid both hold the shortname.
So I want the full name to be retrieved from gecos instead of cn.
Maybe this helps to clarify my question:
In Nextcloud this setting is in
“LDAP/AD integration” => “Advanced” => “Directory Settings”
and it is called “User Display Name Field”
Maybe we should fix this and add a db prop to disable the default config to make remote LDAP joins more flexible?
As a workaround you could use a custom config (for instance s02 copied from the NethServer one) by adding an event that disables the s01 config used by autoconfiguration.
Create an action script /etc/e-smith/events/actions/nethserver-nextcloud-occ-conf-disable with following content: