aboutsummaryrefslogtreecommitdiffstats
path: root/config/dansguardian/dansguardian_ldap.php
diff options
context:
space:
mode:
authormarcelloc <marcellocoutinho@gmail.com>2013-02-01 23:23:53 -0200
committermarcelloc <marcellocoutinho@gmail.com>2013-02-01 23:23:53 -0200
commitc6a81561dbec0849d630498e0e1eea47e0fd89cc (patch)
tree80ad35a2d9294f66f96202ffeeb36875c04794a7 /config/dansguardian/dansguardian_ldap.php
parent0dd364a3e1753f2edccad58f7212f8bdd81abee9 (diff)
downloadpfsense-packages-c6a81561dbec0849d630498e0e1eea47e0fd89cc.tar.gz
pfsense-packages-c6a81561dbec0849d630498e0e1eea47e0fd89cc.tar.bz2
pfsense-packages-c6a81561dbec0849d630498e0e1eea47e0fd89cc.zip
dansguardian - include max upload size to group options and include empty ldap user group check
Diffstat (limited to 'config/dansguardian/dansguardian_ldap.php')
-rw-r--r--config/dansguardian/dansguardian_ldap.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/dansguardian/dansguardian_ldap.php b/config/dansguardian/dansguardian_ldap.php
index d44f3de4..beb57ee0 100644
--- a/config/dansguardian/dansguardian_ldap.php
+++ b/config/dansguardian/dansguardian_ldap.php
@@ -129,7 +129,11 @@ if (is_array($config['installedpackages']['dansguardiangroups']['config']))
}
}
}
- if (!empty($members)){
+ if (empty($members)){
+ $config['installedpackages']['dansguardianusers']['config'][0][strtolower($group['name'])] = NULL;
+ $apply_config++;
+ }
+ else{
$import_users = explode("\n", $members);
asort($import_users);
$members=base64_encode(implode("\n", $import_users));