Fixed slapd.conf modulepath
This commit is contained in:
parent
7752295779
commit
430e1c2b57
2 changed files with 17 additions and 5 deletions
|
@ -23,12 +23,14 @@ pidfile /var/run/openldap/slapd.pid
|
|||
argsfile /var/run/openldap/slapd.args
|
||||
|
||||
# overlay modules to load
|
||||
modulepath /usr/lib/openldap
|
||||
<% if scope.lookupvar('ldap::server::modulepath') != '' -%>
|
||||
modulepath <%= modulepath %>
|
||||
moduleload ppolicy.la
|
||||
moduleload syncprov.la
|
||||
<% if has_variable?('ldap_server_modules') -%>
|
||||
<% ldap_server_modules.each do |name| -%>
|
||||
<% if has_variable?('ldap_server_modules') -%>
|
||||
<% ldap_server_modules.each do |name| -%>
|
||||
moduleload <%= name %>.la
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue