diff --git a/target/scripts/startup/setup-stack.sh b/target/scripts/startup/setup-stack.sh index 9d84e67d..92eb43f3 100644 --- a/target/scripts/startup/setup-stack.sh +++ b/target/scripts/startup/setup-stack.sh @@ -331,7 +331,7 @@ function _setup_ldap [[ ${FILE} =~ ldap-aliases ]] && export LDAP_QUERY_FILTER="${LDAP_QUERY_FILTER_ALIAS}" [[ ${FILE} =~ ldap-domains ]] && export LDAP_QUERY_FILTER="${LDAP_QUERY_FILTER_DOMAIN}" [[ ${FILE} =~ ldap-senders ]] && export LDAP_QUERY_FILTER="${LDAP_QUERY_FILTER_SENDERS}" - configomat.sh "LDAP_" "${FILE}" + _log debug "$(configomat.sh "LDAP_" "${FILE}" 2>&1)" done _log 'trace' "Configuring Dovecot LDAP" @@ -358,7 +358,7 @@ function _setup_ldap export "${VAR}=${DOVECOT_LDAP_MAPPING[${VAR}]}" done - configomat.sh "DOVECOT_" "/etc/dovecot/dovecot-ldap.conf.ext" + _log debug "$(configomat.sh "DOVECOT_" "/etc/dovecot/dovecot-ldap.conf.ext" 2>&1)" _log 'trace' 'Enabling Dovecot LDAP authentication'