diff options
author | Ermal <eri@pfsense.org> | 2014-04-14 18:51:45 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-14 18:52:01 +0000 |
commit | 57ab9f7d5272c1d84be424820c2f7af0d4c2cf1e (patch) | |
tree | 9db64e107474e097e5cfb735e6493aba8642c435 /etc | |
parent | e86ae5aea0a37a69c2507f10cfdd12863dd5f4a3 (diff) | |
download | pfsense-57ab9f7d5272c1d84be424820c2f7af0d4c2cf1e.zip pfsense-57ab9f7d5272c1d84be424820c2f7af0d4c2cf1e.tar.gz |
Correct auth-user-pass-verify to include parameters properly so openvpn can start
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 684cf3b..9e27c16 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -585,7 +585,7 @@ function openvpn_reconfigure($mode, $settings) { $strictusercn = "false"; if ($settings['strictusercn']) $strictusercn = "true"; - $conf .= "auth-user-pass-verify /usr/local/sbin/ovpn_auth_verify user '{$settings['authmode']}' {$strictusercn} {$mode_id} via-env\n"; + $conf .= "auth-user-pass-verify \"/usr/local/sbin/ovpn_auth_verify user '{$settings['authmode']}' {$strictusercn} {$mode_id}\" via-env\n"; } break; } |