Skip to content
Permalink
Browse files

Merge pull request #1928 from HT43-bqxFqB/enable_ldapreferrals

Add LDAPReferrals configuration parameter
  • Loading branch information...
sheenaajay committed Sep 11, 2019
2 parents 497fbd6 + 976b60e commit 908453a710bfb160a3e26d0f04a28ef34cfec643
Showing with 13 additions and 0 deletions.
  1. +10 −0 spec/defines/vhost_spec.rb
  2. +3 −0 templates/vhost/_directories.erb
@@ -183,6 +183,11 @@
'/foo.js',
],
},
{
'path' => '/',
'provider' => 'location',
'auth_ldap_referrals' => 'off',
},
{
'path' => '/var/www/node-app/public',
'passenger_enabled' => true,
@@ -601,6 +606,11 @@
content: %r{^\s+Require any-valid2$},
)
}
it {
is_expected.to contain_concat__fragment('rspec.example.com-directories').with(
content: %r{^\s+LDAPReferrals off$},
)
}
it {
is_expected.to contain_concat__fragment('rspec.example.com-directories').with(
content: %r{^\s+Options\sIndexes\sFollowSymLinks\sMultiViews$},
@@ -290,6 +290,9 @@
<%- if directory['auth_merging'] -%>
AuthMerging <%= directory['auth_merging'] %>
<%- end -%>
<%- if directory['auth_ldap_referrals'] -%>
LDAPReferrals <%= directory['auth_ldap_referrals'] %>
<%- end -%>
<%- if directory['auth_ldap_url'] -%>
AuthLDAPURL <%= directory['auth_ldap_url'] %>
<%- end -%>

0 comments on commit 908453a

Please sign in to comment.
You can’t perform that action at this time.