vars are good

This commit is contained in:
2021-04-21 13:45:37 -04:00
parent 36de57fba1
commit 7dee7453fe
5 changed files with 43 additions and 18 deletions

View File

@ -1,9 +1,9 @@
BASE dc=theta42,dc=com
BASE {{ldap_base_dn}}
URI ldap://{{ldap_host}}
BINDDN {{ldap_bind_dn}}
BINDPW {{ldap_bind_password}}
sudoers_base dc=theta42,dc=com
sudoers_base {{ldap_bind_dn}}
SUDOERS_SEARCH_FILTER (|(memberof=cn=host_admin,ou=groups,dc=theta42,dc=com)(memberof=cn=host_{{current_host}}_admin,ou=groups,dc=theta42,dc=com))
SUDOERS_SEARCH_FILTER (|(memberof=cn=host_admin,ou=Groups,{{ldap_base_dn}})(memberof=cn=host_{{current_host}}_admin,ou=Groups,{{ldap_base_dn}}))