SuiteCRM LDAP integration fixes:

- 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
This commit is contained in:
2025-11-27 12:35:07 +01:00
parent 3fe83f26d5
commit d7e0123af2
6 changed files with 28 additions and 1 deletions

View File

@@ -86,5 +86,8 @@ RUN yarn install --immutable \
COPY {{ SUITECRM_ENTRYPOINT_SCRIPT_HOST_REL }} {{ SUITECRM_ENTRYPOINT_SCRIPT_DOCKER }}
RUN chmod +x {{ SUITECRM_ENTRYPOINT_SCRIPT_DOCKER }}
# Create LDAP Extension Directory
RUN mkdir -p "{{ SUITECRM_LDAP_EXTENSION_DIR }}"
ENTRYPOINT ["{{ SUITECRM_ENTRYPOINT_SCRIPT_DOCKER }}"]
CMD ["apache2-foreground"]