mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 01:12:57 +02:00
@@ -4,3 +4,4 @@ etc/rc.d/init.d/console
|
||||
usr/local/sbin/setup
|
||||
usr/local/bin/setddns.pl
|
||||
srv/web/ipfire/cgi-bin/ddns.cgi
|
||||
srv/web/ipfire/cgi-bin/proxy.cgi
|
||||
|
||||
@@ -3147,6 +3147,7 @@ END
|
||||
|
||||
if ($proxysettings{'AUTH_METHOD'} eq 'ldap')
|
||||
{
|
||||
print FILE "auth_param basic utf8 on\n";
|
||||
print FILE "auth_param basic program $authdir/squid_ldap_auth -b \"$proxysettings{'LDAP_BASEDN'}\"";
|
||||
if (!($proxysettings{'LDAP_BINDDN_USER'} eq '')) { print FILE " -D \"$proxysettings{'LDAP_BINDDN_USER'}\""; }
|
||||
if (!($proxysettings{'LDAP_BINDDN_PASS'} eq '')) { print FILE " -w $proxysettings{'LDAP_BINDDN_PASS'}"; }
|
||||
|
||||
Reference in New Issue
Block a user