diff --git a/templates/server.erb b/templates/server.erb index f0e972ad..322a7214 100644 --- a/templates/server.erb +++ b/templates/server.erb @@ -133,7 +133,7 @@ down "<%= @down %>" username-as-common-name <% end -%> <% if @ldap_enabled == true -%> -plugin <%= scope.lookupvar('::openvpn::params::ldap_auth_plugin_location') %> "<%= @etc_directory -%>/openvpn/<%= name %>/auth/ldap.conf" +plugin <%= scope.lookupvar('::openvpn::params::ldap_auth_plugin_location') %> "<%= @etc_directory -%>/openvpn/<%= @name %>/auth/ldap.conf" <% end -%> <% if @client_cert_not_required -%> client-cert-not-required