aboutsummaryrefslogtreecommitdiffstats
path: root/config/squidGuard/squidguard.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-06-10 14:13:28 -0400
committerjim-p <jimp@pfsense.org>2013-06-10 14:13:28 -0400
commit2dda3a961921534bec5df1dfb039c47ade0ff5b1 (patch)
tree272ae24710dd7be0d712599ab79bfb8f67cc140c /config/squidGuard/squidguard.inc
parentb01b711ee6be3fa03844095d92dee9025aafd18a (diff)
downloadpfsense-packages-2dda3a961921534bec5df1dfb039c47ade0ff5b1.tar.gz
pfsense-packages-2dda3a961921534bec5df1dfb039c47ade0ff5b1.tar.bz2
pfsense-packages-2dda3a961921534bec5df1dfb039c47ade0ff5b1.zip
Add LDAP search patch from http://forum.pfsense.org/index.php/topic,59246.0.html
Diffstat (limited to 'config/squidGuard/squidguard.inc')
-rw-r--r--config/squidGuard/squidguard.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/squidGuard/squidguard.inc b/config/squidGuard/squidguard.inc
index 1ea1b5a5..d58dfb79 100644
--- a/config/squidGuard/squidguard.inc
+++ b/config/squidGuard/squidguard.inc
@@ -979,6 +979,12 @@ function convert_pfxml_to_sgxml() {
$sgxml[F_LOGDIR] = SQUIDGUARD_LOGDIR;
$sgxml[F_DBHOME] = SQUIDGUARD_DBHOME;
+ $sgxml[F_LDAPENABLE] = $pfxml['ldap_enable'];
+ $sgxml[F_LDAPBINDDN] = $pfxml['ldapbinddn'];
+ $sgxml[F_LDAPBINDPASS] = $pfxml['ldapbindpass'];
+ $sgxml[F_LDAPVERSION] = $pfxml['ldapversion'];
+ $sgxml[F_STRIPNTDOMAIN] = $pfxml['stripntdomain'];
+ $sgxml[F_STRIPREALM] = $pfxml['striprealm'];
$sgxml[F_BINPATH] = SQUIDGUARD_BINPATH;
$sgxml[F_WORKDIR] = SQUIDGUARD_WORKDIR;
$sgxml[F_SGCONF_XML] = SQUIDGUARD_WORKDIR . SQUIDGUARD_CONFXML;