diff options
author | marcelloc <marcellocoutinho@gmail.com> | 2013-02-01 23:23:53 -0200 |
---|---|---|
committer | marcelloc <marcellocoutinho@gmail.com> | 2013-02-01 23:23:53 -0200 |
commit | c6a81561dbec0849d630498e0e1eea47e0fd89cc (patch) | |
tree | 80ad35a2d9294f66f96202ffeeb36875c04794a7 /config/dansguardian/dansguardian_ldap.php | |
parent | 0dd364a3e1753f2edccad58f7212f8bdd81abee9 (diff) | |
download | pfsense-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.php | 6 |
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)); |