added base group parameter
This commit is contained in:
parent
0e816bbe3e
commit
4366d416bc
@ -18,6 +18,7 @@ class nslcd (
|
||||
$ldap_binddn = $nslcd::params::ldap_binddn,
|
||||
$ldap_bindpw = $nslcd::params::ldap_bindpw,
|
||||
$ldap_search_base = $nslcd::params::ldap_search_base,
|
||||
$ldap_group_base = $nslcd::params::ldap_group_base,
|
||||
$ldap_search_scope = $nslcd::params::ldap_search_scope,
|
||||
$ldap_filters = $nslcd::params::ldap_filters,
|
||||
$ldap_ssl = $nslcd::params::ldap_ssl,
|
||||
|
@ -12,6 +12,7 @@ class nslcd::params {
|
||||
$ldap_binddn = undef
|
||||
$ldap_bindpw = undef
|
||||
$ldap_search_base = ''
|
||||
$ldap_group_base = ''
|
||||
$ldap_search_scope = 'subtree'
|
||||
$ldap_filters = {}
|
||||
$ldap_ssl = 'off'
|
||||
|
@ -15,6 +15,10 @@ ldap_version <%= @ldap_version %>
|
||||
|
||||
# The search base that will be used for all queries.
|
||||
base <%= @ldap_search_base %>
|
||||
<% if @ldap_group_base -%>
|
||||
base group <%= @ldap_group_base -%>
|
||||
<% end -%>
|
||||
|
||||
|
||||
<% if @ldap_binddn and @ldap_bindpw -%>
|
||||
# The DN to bind with for normal lookups.
|
||||
|
Loading…
Reference in New Issue
Block a user