aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/templates/web/groups.ini.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/icinga2/templates/web/groups.ini.j2')
-rw-r--r--roles/icinga2/templates/web/groups.ini.j217
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/icinga2/templates/web/groups.ini.j2 b/roles/icinga2/templates/web/groups.ini.j2
new file mode 100644
index 0000000..848b254
--- /dev/null
+++ b/roles/icinga2/templates/web/groups.ini.j2
@@ -0,0 +1,17 @@
+[icingaweb2]
+backend = "db"
+resource = "icingaweb_db"
+
+{% if icingaweb.ldap.use_ldap %}
+[groups_ldap]
+backend = ldap
+resource = ldap_server
+base_dn = {{ icingaweb.ldap.groups.base_dn }}
+group_member_attribute = {{ icingaweb.ldap.groups.group_member_attribute }}
+group_name_attribute = {{ icingaweb.ldap.groups.group_name_attribute }}
+group_class = {{ icingaweb.ldap.groups.group_class }}
+group_filter = {{ icingaweb.ldap.groups.group_filter }}
+user_base_dn = {{ icingaweb.ldap.groups.user_base_dn }}
+user_class = {{ icingaweb.ldap.groups.user_class }}
+user_name_attribute = {{ icingaweb.ldap.groups.uid }}
+{% endif %}