diff options
Diffstat (limited to 'scripts/hostclass/znc_server')
-rw-r--r-- | scripts/hostclass/znc_server | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/hostclass/znc_server b/scripts/hostclass/znc_server index c9f3780..fd6b715 100644 --- a/scripts/hostclass/znc_server +++ b/scripts/hostclass/znc_server @@ -41,6 +41,7 @@ install_template -o "$znc_user" -g "$znc_user" -m 0600 "${znc_home}/moddata/cyru # TODO: use ldap module for saslauthd. install_template -m 0644 \ /usr/local/lib/sasl2/znc.conf \ + /usr/local/etc/saslauthd.conf \ /etc/pam.d/znc # Allow znc to read the saslauthd socket. @@ -53,7 +54,7 @@ install_template -m 0644 \ sysrc -v \ saslauthd_enable=YES \ - saslauthd_flags='-a pam' \ + saslauthd_flags='-a ldap' \ znc_enable=YES \ nginx_enable=YES |