aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-11-06 11:33:23 -0800
committerErmal Luçi <eri@pfsense.org>2013-11-06 11:33:23 -0800
commit4e371c940180d3526dd6960a922b045b691be3e9 (patch)
tree1c8612808b6f50e17a89dabd1ce20b532af09feb /config
parentd2f7ee663d63699707210e18c7b68f649633edcc (diff)
parentc44ffa65e2aa6eaf63c64cba2151f67d8d8c8954 (diff)
downloadpfsense-packages-4e371c940180d3526dd6960a922b045b691be3e9.tar.gz
pfsense-packages-4e371c940180d3526dd6960a922b045b691be3e9.tar.bz2
pfsense-packages-4e371c940180d3526dd6960a922b045b691be3e9.zip
Merge pull request #534 from rolandbu/patch-1
Update freeradius.inc
Diffstat (limited to 'config')
-rw-r--r--config/freeradius2/freeradius.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc
index 0f7010d6..a18872fc 100644
--- a/config/freeradius2/freeradius.inc
+++ b/config/freeradius2/freeradius.inc
@@ -2971,6 +2971,7 @@ function freeradius_modulesldap_resync() {
// Variables for General Configuration ldap1
$varmodulesldapserver = ($arrmodulesldap['varmodulesldapserver']?$arrmodulesldap['varmodulesldapserver']:'ldap.your.domain');
+ $varmodulesldapserverport = ($arrmodulesldap['varmodulesldapserverport']?$arrmodulesldap['varmodulesldapserverport']:'389');
$varmodulesldapidentity = ($arrmodulesldap['varmodulesldapidentity']?$arrmodulesldap['varmodulesldapidentity']:'cn=admin,o=My Org,c=UA');
$varmodulesldappassword = ($arrmodulesldap['varmodulesldappassword']?$arrmodulesldap['varmodulesldappassword']:'mypass');
$varmodulesldapbasedn = ($arrmodulesldap['varmodulesldapbasedn']?$arrmodulesldap['varmodulesldapbasedn']:'o=My Org,c=UA');
@@ -2983,6 +2984,7 @@ function freeradius_modulesldap_resync() {
// Variables for General Configuration ldap2
$varmodulesldap2server = ($arrmodulesldap['varmodulesldap2server']?$arrmodulesldap['varmodulesldap2server']:'ldap.your.domain');
+ $varmodulesldap2serverport = ($arrmodulesldap['varmodulesldap2serverport']?$arrmodulesldap['varmodulesldap2serverport']:'389');
$varmodulesldap2identity = ($arrmodulesldap['varmodulesldap2identity']?$arrmodulesldap['varmodulesldap2identity']:'cn=admin,o=My Org,c=UA');
$varmodulesldap2password = ($arrmodulesldap['varmodulesldap2password']?$arrmodulesldap['varmodulesldap2password']:'mypass');
$varmodulesldap2basedn = ($arrmodulesldap['varmodulesldap2basedn']?$arrmodulesldap['varmodulesldap2basedn']:'o=My Org,c=UA');
@@ -3237,6 +3239,7 @@ ldap {
# Note that this needs to match the name in the LDAP
# server certificate, if you're using ldaps.
server = "$varmodulesldapserver"
+ port = "$varmodulesldapserverport"
identity = "$varmodulesldapidentity"
password = $varmodulesldappassword
basedn = "$varmodulesldapbasedn"
@@ -3396,6 +3399,7 @@ ldap ldap2{
# Note that this needs to match the name in the LDAP
# server certificate, if you're using ldaps.
server = "$varmodulesldap2server"
+ port = "$varmodulesldap2serverport"
identity = "$varmodulesldap2identity"
password = $varmodulesldap2password
basedn = "$varmodulesldap2basedn"