I've encountered an error on container restart:
cp: '/etc/openldap/ldap.conf' and '/assets/slapd/ldap.conf' are the same file
configure_ldap_client is the only function that touches ${CONFIG_PATH}ldap.conf directly, then copies it to /assets/slapd, it is cleaner (and less error-prone) to directly write to /assets first.
I've encountered an error on container restart:
cp: '/etc/openldap/ldap.conf' and '/assets/slapd/ldap.conf' are the same file
configure_ldap_client
is the only function that touches${CONFIG_PATH}ldap.conf
directly, then copies it to/assets/slapd
, it is cleaner (and less error-prone) to directly write to/assets
first.