Unverified Commit 8acdf372 authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #107 from cwmoller/master

Allow use of ca_path in ldap module
parents 685c4dc7 f5f627f5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -699,6 +699,9 @@ Path to CA cert file for TLS
##### `certfile`
Path to cert file for TLS

##### `capath`
Path to CA cert files for TLS

##### `keyfile`
Path to key file for TLS

+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ define freeradius::module::ldap (
  String $ldap_debug                                                  = '0x0028',
  Freeradius::Boolean $starttls                                       = 'no',
  Optional[String] $cafile                                            = undef,
  Optional[String] $capath                                            = undef,
  Optional[String] $certfile                                          = undef,
  Optional[String] $keyfile                                           = undef,
  Optional[String] $random_file                                       = undef,
+3 −1
Original line number Diff line number Diff line
@@ -575,7 +575,9 @@ ldap <%= @name %> {
<% if @cafile -%>
		ca_file = <%= @cafile %>
<% end -%>
#               ca_path = ${certdir}
<% if @capath -%>
		ca_path = <%= @capath %>
<% end -%>
<% if @certfile -%>
		certificate_file = <%= @certfile %>
<% end -%>