aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--galaxy.yml2
-rw-r--r--roles/icinga2/defaults/main.yml3
-rw-r--r--roles/icinga2/templates/web/groups.ini.j22
3 files changed, 4 insertions, 3 deletions
diff --git a/galaxy.yml b/galaxy.yml
index a0ce0c8..5614156 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -1,6 +1,6 @@
namespace: kompetenzbolzen
name: stuff
-version: 0.8.8
+version: 0.8.9
readme: README.md
authors:
- Jonas Gunz <himself@jonasgunz.de>
diff --git a/roles/icinga2/defaults/main.yml b/roles/icinga2/defaults/main.yml
index 9b6a007..0c36ee6 100644
--- a/roles/icinga2/defaults/main.yml
+++ b/roles/icinga2/defaults/main.yml
@@ -44,7 +44,8 @@ icingaweb:
filter: ''
groups:
base_dn: ''
- group_member_attribute: 'cn'
+ group_member_attribute: 'member'
+ group_name_attribute: 'cn'
group_class: 'groupOfNames'
group_filter: 'cn=*'
user_base_dn: ''
diff --git a/roles/icinga2/templates/web/groups.ini.j2 b/roles/icinga2/templates/web/groups.ini.j2
index 848b254..04dba70 100644
--- a/roles/icinga2/templates/web/groups.ini.j2
+++ b/roles/icinga2/templates/web/groups.ini.j2
@@ -13,5 +13,5 @@ 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 }}
+user_name_attribute = {{ icingaweb.ldap.groups.user_name_attribute }}
{% endif %}