aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/saslauthd.conf.znc_server
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/etc/saslauthd.conf.znc_server')
-rw-r--r--files/usr/local/etc/saslauthd.conf.znc_server7
1 files changed, 7 insertions, 0 deletions
diff --git a/files/usr/local/etc/saslauthd.conf.znc_server b/files/usr/local/etc/saslauthd.conf.znc_server
new file mode 100644
index 0000000..f7a4708
--- /dev/null
+++ b/files/usr/local/etc/saslauthd.conf.znc_server
@@ -0,0 +1,7 @@
+ldap_servers: ${ldaps_uri}
+ldap_use_sasl: yes
+ldap_mech: PLAIN
+ldap_auth_method: fastbind
+ldap_group_search_base: ${users_basedn}
+ldap_group_match_method: filter
+ldap_group_filter: (&(uid=%u)(memberOf=cn=${znc_access_role},${roles_basedn}))