This commit is contained in:
2020-05-13 14:38:39 -04:00
commit 5077240060
3 changed files with 62 additions and 0 deletions

9
files/sudo-ldap.conf Normal file
View File

@ -0,0 +1,9 @@
BASE dc=theta42,dc=com
URI ldap://{{ldap_host}}
BINDDN {{ldap_bind_dn}}
BINDPW {{ldap_bind_password}}
sudoers_base dc=theta42,dc=com
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))