Better groups

This commit is contained in:
2026-07-10 18:57:50 -04:00
parent be5105ba1b
commit ad787a6bf8
6 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ BINDPW {{ldap_bind_password}}
sudoers_base {{ldap_base_dn}}
SUDOERS_SEARCH_FILTER (|(memberof=cn=host_admin,ou=Groups,{{ldap_base_dn}})(memberof=cn=host_{{current_host}}_admin,ou=Groups,{{ldap_base_dn}}))
SUDOERS_SEARCH_FILTER (|{{#ldap_sudo_groups}}(memberof={{.}},ou=Groups,{{ldap_base_dn}}){{/ldap_sudo_groups}})