mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-26 10:07:34 -05:00
The ldap-server step copied our LDIF files to a directory the bitnami image never reads, so the image created its own default tree. Our entrypoint override then polled until LDAP answered and imported the files with ldapadd. That races with the image setup: it answers on a temporary slapd that gets shut down when setup finishes. In https://ci.opencloud.rocks/repos/3/pipeline/5531/21 10_base.ldif failed with "Already exists" and 20_users.ldif was cut off by the slapd shutdown, so there was no admin user and the multiTenancy server never became ready. We now point LDAP_CUSTOM_LDIF_DIR at the LDIF files. The image imports them during setup, before slapd listens, and skips its default tree. The override only creates the TLS certificate. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>