Advertisement

11.15.2007 at 07:48AM PST, ID: 22963151
[x]
Attachment Details

How configure Squid to log Windows username in access.log

Asked by David_Pazos in Linux, Gentoo Linux

Tags: squid, windows, log

Hello,

I'm running Squid 3.0 on a linux Gentoo 2007.0 and it runs well, but I would like to have Active Directory users log into access.log. ./ntlm_auth on bash is working, server is added to the domain and wbinfo -g & wbinfo -u works well....

What did I wrong? Below is my squid.conf file.

Many thanks in advance. Kindly Regards.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
http_port 8080
cache_mgr some@address.com
cache_effective_user squid
cache_effective_group squid
ftp_user anonymous@address.com
visible_hostname server.domain.local
logfile_rotate 1
 
cache_mem 256 MB
cache_access_log /var/log/squid/access.log
cache_dir ufs /var/cache/squid/ncache 1024 16 256
log_ip_on_direct off
access_log /var/log/squid/access.log squid
 
debug_options ALL,1
hosts_file /etc/hosts
 
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 30
 
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
 
acl all src 0.0.0.0/0.0.0.0
acl lcl_network src 192.168.1.0/24 127.0.0.1/32
http_access allow lcl_network
 
acl SSL_ports port 443 563
acl Safe_ports port 21 70 80 210 280 443 488 563 591 777 1025-65535
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
 
acl AuthorizedUsers proxy_auth REQUIRED
http_access deny !AuthorizedUsers
http_access allow all
 
 
[+][-]11.15.2007 at 04:54PM PST, ID: 20294697

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2007 at 07:12AM PST, ID: 20298800

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux, Gentoo Linux
Tags: squid, windows, log
Sign Up Now!
Solution Provided By: David_Pazos
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628