Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions manifests/module/eap.pp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
Boolean $eap_leap = true,
Boolean $eap_gtc = true,
Boolean $eap_peap = true,
Boolean $eap_mschapv2 = true,
) {
freeradius::module { $name:
ensure => $ensure,
Expand Down
18 changes: 13 additions & 5 deletions templates/eap.erb
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,12 @@ eap {
# tls_max_version.
#
# disable_tlsv1_2 = no
<%- unless @tls_min_version or @tls_max_version -%>
disable_tlsv1_1 = yes
disable_tlsv1 = yes
<%- if @tls_disable_tlsv1_2 -%>
disable_tlsv1_2 = <%= @tls_disable_tlsv1_2 %>
<%- end -%>
<%- end -%>

# Set min / max TLS version. Mainly for Debian
Expand Down Expand Up @@ -1032,7 +1034,7 @@ eap {
# of MS-CHAPv2 in EAP by Cisco, which FreeRADIUS does not
# currently support.
#
mschapv2 {
# mschapv2 {
# Prior to version 2.1.11, the module never
# sent the MS-CHAP-Error message to the
# client. This worked, but it had issues
Expand All @@ -1050,21 +1052,27 @@ eap {
# working.
#
# send_error = no
<%- if @mschapv2_send_error -%>
send_error = <%= @mschapv2_send_error %>
<%- end -%>


# Server identifier to send back in the challenge.
# This should generally be the host name of the
# RADIUS server. Or, some information to uniquely
# identify it.
#
# identity = "FreeRADIUS"

# }
<%- if @eap_mschapv2 -%>
mschapv2 {
<%- if @mschapv2_send_error -%>
send_error = <%= @mschapv2_send_error %>
<%- end -%>

<%- if @mschapv2_identity -%>
identity = "<%= @mschapv2_identity %>"
<%- end -%>
}

<%- end -%>

# EAP-FAST
#
Expand Down