From e2fc0433de38c322ce46ad250bc0f0f03e7710c8 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Thu, 24 Oct 2024 06:43:08 -0400 Subject: add icinga --- scripts/hostclass/idm_server/10-slapd | 4 ++-- scripts/hostclass/idm_server/90-idm | 19 +++++++++++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'scripts/hostclass/idm_server') diff --git a/scripts/hostclass/idm_server/10-slapd b/scripts/hostclass/idm_server/10-slapd index 12640a4..0dc7d1d 100644 --- a/scripts/hostclass/idm_server/10-slapd +++ b/scripts/hostclass/idm_server/10-slapd @@ -10,7 +10,7 @@ : ${slapd_syncrepl_session_log:='1000'} : ${slapd_syncrepl_cleanup_age:='7'} : ${slapd_syncrepl_cleanup_interval:='1'} -: ${slapd_admin_role:='role-ldap-admin'} +: ${slapd_admin_role:='ldap-admin'} slapd_user=ldap slapd_data_dir=/var/db/openldap-data @@ -173,7 +173,7 @@ objectClass: organizationalUnit ou: $(ldap_rdn_value "$roles_basedn") EOF - # cn=role-ldap-admin,ou=roles,ou=groups,ou=accounts,dc=example,dc=com + # cn=ldap-admin,ou=roles,ou=groups,ou=accounts,dc=example,dc=com ldap_add "cn=${slapd_admin_role},${roles_basedn}" <