|
|
@ -1,11 +1,7 @@ |
|
|
|
#!/usr/bin/with-contenv bash |
|
|
|
#!/usr/bin/with-contenv bash |
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -f /config/saslauthd.conf ]]; then |
|
|
|
|
|
|
|
cp /defaults/saslauthd.conf /config/ |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -f /etc/saslauthd.conf ]]; then |
|
|
|
if [[ ! -f /etc/saslauthd.conf ]]; then |
|
|
|
tpl /config/saslauthd.conf > /etc/saslauthd.conf |
|
|
|
tpl /defaults/saslauthd.conf > /etc/saslauthd.conf |
|
|
|
mkdir -pm777 /var/run/saslauthd |
|
|
|
mkdir -pm777 /var/run/saslauthd |
|
|
|
adduser prosody sasl |
|
|
|
adduser prosody sasl |
|
|
|
echo >> /etc/ldap/ldap.conf "TLS_REQCERT allow" |
|
|
|
echo >> /etc/ldap/ldap.conf "TLS_REQCERT allow" |
|
|
|