Tutorial - SquidGuard + LdapGroup (permissão por grupo no ad)
-
esta olhando o topico e gostei, andei lendo sobre tentei aplicar mas deu estes erro
tch -p0 < /tmp/squidguard-ldap-search.patch
Hmm… Looks like a unified diff to me...
The text leading up to this was:|diff -r 0c5de7d2cc4f squidguard.inc
|--- ./squidguard.inc Wed Feb 08 11:10:19 2012 -0200+++ ./squidguard.inc Fri Feb 10 10:17:32 2012 -0200 Patching file ./squidguard.inc using Plan A... Hunk #1 failed at 916. 1 out of 1 hunks failed--saving rejects to ./squidguard.inc.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was:
|diff -r 0c5de7d2cc4f squidguard.xml
|--- ./squidguard.xml Wed Feb 08 11:10:19 2012 -0200+++ ./squidguard.xml Fri Feb 10 10:17:32 2012 -0200 Patching file ./squidguard.xml using Plan A... Reversed (or previously applied) patch detected! Assume -R? [y] y Hunk #1 succeeded at 208 with fuzz 1 (offset 77 lines). Hunk #2 succeeded at 257 (offset 77 lines). Hmm… The next patch looks like a unified diff to me... The text leading up to this was:
|diff -r 0c5de7d2cc4f squidguard_configurator.inc
|--- ./squidguard_configurator.inc Wed Feb 08 11:10:19 2012 -0200+++ ./squidguard_configurator.inc Fri Feb 10 10:17:32 2012 -0200 Patching file ./squidguard_configurator.inc using Plan A... Hunk #1 failed at 223. Hunk #2 failed at 300. Hunk #3 failed at 655. Hunk #4 failed at 708. Hunk #5 failed at 825. Hunk #6 failed at 861. Hunk #7 failed at 1151. Hunk #8 failed at 1740. Hunk #9 failed at 2024. 9 out of 9 hunks failed--saving rejects to ./squidguard_configurator.inc.rej meu pfsense é 2.1.5 e versao do squidguard Available: 1.4_4 pkg v.1.9.12
Installed: 1.4_4 pkg v.1.9.6o que os senhores acham
obrigado
-
Marcelo , bom dia.
Meu usuarios no A.D estão criados com numeral da matricula funcional , seria possivel ajustar o script para busca o Display Name p.f ? No squid alterei o LDAP Username DN Attribute e o LDAP Search Filter para "cn" e consigo logar com o Display Name !!!