mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-27 03:09:26 +02:00
chore: Adapt ENABLE_LDAP=1
to ACCOUNT_PROVISIONER=LDAP
(#3507)
- Deprecation startup script check is kept for `ENABLE_LDAP=1` but adjusted to emit an error instead. It can be dropped in a future release. Just a precaution for those who mistakenly update (_possibly via automation_) without checking the release notes, an error log is somewhat helpful, although it could alternatively panic? - Docs updated to remove the `ENABLE_LDAP=1` usage - ENV docs updated to reference a maintained LDAP image. - Changelog includes the breaking change, and slight revision to prior release mention of deprecation.
This commit is contained in:
parent
351ef2afa1
commit
9446fa9b9a
6 changed files with 12 additions and 20 deletions
|
@ -14,8 +14,7 @@ function _early_variables_setup() {
|
|||
# completely with a single version.
|
||||
function __environment_variables_backwards_compatibility() {
|
||||
if [[ ${ENABLE_LDAP:-0} -eq 1 ]]; then
|
||||
_log 'warn' "'ENABLE_LDAP=1' is deprecated (and will be removed in v13.0.0) => use 'ACCOUNT_PROVISIONER=LDAP' instead"
|
||||
ACCOUNT_PROVISIONER='LDAP'
|
||||
_log 'error' "'ENABLE_LDAP=1' has been changed to 'ACCOUNT_PROVISIONER=LDAP' since DMS v13"
|
||||
fi
|
||||
|
||||
# TODO this can be uncommented in a PR handling the HOSTNAME/DOMAINNAME issue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue