fix: SASLAuth - Drop services for mysql, shadow, pam auth mechanisms (#4259)

This commit is contained in:
Brennan Kinney 2024-11-20 17:19:58 +13:00 committed by GitHub
parent 02f1894f74
commit c15354058f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 39 deletions

View file

@ -182,8 +182,9 @@ function _environment_variables_ldap() {
function _environment_variables_saslauthd() {
_log 'debug' 'Setting SASLAUTHD-related environment variables now'
# Only used by the supervisor service command (upstream default: `/etc/default/saslauthd`)
VARS[SASLAUTHD_MECHANISMS]="${SASLAUTHD_MECHANISMS:=pam}"
# This ENV is only used by the supervisor service config `saslauth.conf`:
# NOTE: `pam` is set as the upstream default in `/etc/default/saslauthd`
VARS[SASLAUTHD_MECHANISMS]="${SASLAUTHD_MECHANISMS:=ldap}"
}
# This function Writes the contents of the `VARS` map (associative array)