mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-02 15:39:57 +00:00
- Correct LDAP attribute FIRSTNAME changed to givenName - Add automated ldap.yaml rendering and bind mount - Create LDAP extension directory inside container - Adjust docker-compose.yml for proper LDAP config mount - Add strict formatting template for ldap.yaml - Update paths for SUITECRM_LDAP_CONFIG_HOST and SUITECRM_LDAP_EXTENSION_DIR Details: https://chatgpt.com/share/6928375d-1458-800f-bcc3-b3364ea69078
8 lines
402 B
Django/Jinja
8 lines
402 B
Django/Jinja
{# WARNING: Don't mess with the formatation SuiteCRM is very strict! #}
|
|
parameters:
|
|
ldap.extra_fields: ['{{ LDAP.USER.ATTRIBUTES.MAIL }}', '{{ LDAP.USER.ATTRIBUTES.FIRSTNAME }}', '{{ LDAP.USER.ATTRIBUTES.SURNAME }}']
|
|
ldap.autocreate.extra_fields_map:
|
|
{{ LDAP.USER.ATTRIBUTES.MAIL }}: email1
|
|
{{ LDAP.USER.ATTRIBUTES.FIRSTNAME }}: first_name
|
|
{{ LDAP.USER.ATTRIBUTES.SURNAME }}: last_name
|