diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-01-21 16:25:16 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-01-21 16:25:16 +0100 |
commit | 3e186b4098c9f811decc5f79bc279cfa4d3880f4 (patch) | |
tree | bf9056b3725fdea957b83ef98d4cad047d27d4fb | |
parent | d2864ab4eb221007ce3647d22c1d3e334e6134cc (diff) | |
download | ansible_collection-3e186b4098c9f811decc5f79bc279cfa4d3880f4.tar.gz |
Icinga: fix ldap
-rw-r--r-- | galaxy.yml | 2 | ||||
-rw-r--r-- | roles/icinga2/defaults/main.yml | 3 | ||||
-rw-r--r-- | roles/icinga2/templates/web/groups.ini.j2 | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -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 %} |