Software

[tips] smb_auth con Squid 3.0 e Debian 5.0

Il modulo smb_auth per Squid 3 installato con Debian 5, non funziona correttamente. Per risolvere il problema, modificare la riga

# Read the contents of the file $AUTHFILE on the $AUTHSHARE share
..
authinfo = `..

con

authinfo=`/usr/bin/smbclient "//$dcname/$AUTHSHARE" -I $dcip -d 0 -E -W "$DOMAINNAME" -c "get $authfilebs -" 2>/dev/null -U $USER`

L’istruzione richiama il processo smbclient che si autentica con username e password passate da Squid sul controller di dominio, accede alla share NETLOGON (salvo diversamente specificato su $AUTHSHARE) e legge il contenuto del file $authfilebs (normalmente proxyauth) che dovrebbe essere la parola allow e che viene reindirizzata a Squid.

Se l’autenticazione fallisce, il file non viene letto. In questo modo Squid restituirà un deny.

Per informazioni sulla configurazione di Squid con l’autenticazione su Active Directory e una descrizione del file proxyauth, vedere il post [howto] Configurare Samba e Squid con autenticazione su AD con Debian Etch (4.0)

17/07/2009 Tips
No Comments

[exchange] Abilitare la verifica del destinatario su Exchange

[tips] Casella di controllo "Mostra questa cartella come rubrica" non disponibile su Outlook 2003/2007

Lascia un commento

Devi essere connesso per inviare un commento.

Giugno 2025
L M M G V S D
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Giu    

Categorie

  • Access
  • Asp
  • Cyberoam
  • Dell
  • ESX / vmWare
  • Exchange
  • Exchange 2007
  • How-To
  • IIS
  • iPhone
  • Linux
  • Mac
  • Office 365
  • Outlook
  • plesk
  • Sophos XG
  • SQL Server
  • TeamSystem
  • Tips
  • Trend Micro
  • Vb.NET
  • VB6
  • Windows 10
  • Windows 7
  • Windows SBS
  • Windows Server
  • Windows Vista
  • Windows XP
  • WSUS

How-To

  • Configure SMTP O365 Migration Using TLS 1.2 For SQL Database Mail
  • Debian anti-spam and anti-virus e-mail gateway
  • How to install Small Business Server 2003 in an existing Active Directory domain
  • Sophos XG Firewall and Firebox Branch Office VPN Integration Guide
  • Squid, SquidGard, NTLM Authentication con Samba 3.x su Debian Sarge
  • Troubleshoot high-CPU-usage issues in SQL Server

Utili

  • Chip Grafici per portatili – Benchmark
  • Il blog su Microsoft Access
  • Processori per portatili – Benchmark
  • Sophos Wireless: Wi-Fi Fundamentals
  • Zentyal – Linux Small Business Server

Meta

  • Accedi
  • Feed dei contenuti
  • Feed dei commenti
  • WordPress.org
Proudly powered by WordPress | Theme: Neblue by NEThemes.