diff options
author | jim-p <jimp@pfsense.org> | 2013-06-10 14:13:28 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-06-10 14:13:28 -0400 |
commit | 2dda3a961921534bec5df1dfb039c47ade0ff5b1 (patch) | |
tree | 272ae24710dd7be0d712599ab79bfb8f67cc140c /config/squidGuard/squidguard.inc | |
parent | b01b711ee6be3fa03844095d92dee9025aafd18a (diff) | |
download | pfsense-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.inc | 6 |
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; |