diff --git a/files/sudo-ldap.conf b/files/sudo-ldap.conf index ab24231..b73fe54 100644 --- a/files/sudo-ldap.conf +++ b/files/sudo-ldap.conf @@ -4,6 +4,6 @@ URI ldap://{{ldap_host}} BINDDN {{ldap_bind_dn}} BINDPW {{ldap_bind_password}} -sudoers_base {{ldap_bind_dn}} +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}}))