SQUID не пишет в логи имя авторизованного пользователя помогите а то задолбался уже
smb.conf log file = /var/log/samba/log.%m
display charset = koi8-r
idmap gid = 10000-15000
auth methods = winbind
encrypt passwords = yes
winbind use default domain = yes
realm = VSUR.LOCAL
passwd program = winbind
winbind uid = 10000-15000
allow hosts = 10.18. 127.
dns proxy = no
server string = Самс Сервер
idmap uid = 10000-15000
winbind enum users = Yes
password server = serverdc.vsur.local
winbind gid = 10000-15000
dos charset = cp866
workgroup = VSUR
winbind enum groups = Yes
security = ADS
unix charset = koi8-r
max log size = 50
winbind separator = +
winbind cache time = 300
squid.conf
====line 1 col 0 lines from top 1 ============================================
# created by SAMS _sams_ 2012-8-11 16:29:45
#
# Recommended minimum configuration:
#
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to certain unsafe ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny all
# Squid normally listens to port 3128
http_port 8080
# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /var/squid/cache 100 16 256
access_log /var/squid/logs/access.log
cache_log /var/squid/logs/cache.log
# Leave coredumps in the first cache dir
coredump_dir /var/squid/cache
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: &n... 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
auth_param ntlm program /usr/local/bin/ntlm_auth \--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 5
auth_param ntlm keep_alive on
auth_param basic program /usr/local/bin/ntlm_auth \--helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Squid Proxy-Server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#url_rewrite_program /usr/local/rejik/redirector
#/usr/local/rejik/redirector.conf
sams.conf
SQUID_DB=squidlog
SAMS_DB=squidctrl
MYSQLHOSTNAME=localhost
MYSQLUSER=sams
MYSQLPASSWORD=dth[jdysqcel
MYSQLVERSION=5.0
SQUIDCACHEFILE=access.log
SQUIDROOTDIR=/usr/local/etc/squid
SQUIDLOGDIR=/var/squid/logs
SQUIDCACHEDIR=/usr/local/squid/cache
SAMSPATH=/usr/local
SQUIDPATH=/usr/local/sbin
#SQUIDGUARDLOGPATH=/var/log
#SQUIDGUARDDBPATH=/var/db/squidGuard
RECODECOMMAND=iconv -f KOI8-R -t 866 %finp > %fout
LDAPSERVER=10.18.6.51
access.log
1344839717.405 95 10.18.5.125 TCP_MISS/200 2233 GET http://oauth.vk.com/oauth/authorize? - DIRECT/87.240.156.167 text/html
1344839717.466 193 10.18.7.37 TCP_MISS/200 633 POST http://vk.com/al_im.php - DIRECT/87.240.143.248 text/plain
1344839717.505 96 10.18.5.125 TCP_MISS/200 2233 GET http://oauth.vk.com/oauth/authorize? - DIRECT/87.240.156.167 text/html
1344839717.590 65 10.18.5.128 TCP_MISS/204 328 GET http://www.google.ru/csi? - DIRECT/173.194.35.223 image/gif
1344839717.639 169 10.18.7.37 TCP_MISS/200 650 POST http://vk.com/al_im.php - DIRECT/87.240.143.248 text/plain
1344839717.663 87 10.18.7.37 TCP_MISS/200 385 POST http://q7.queue.vk.com/im100 - DIRECT/87.240.134.184 text/javascript
1344839717.722 67 10.18.7.37 TCP_MISS/200 2812 GET http://cs406218.userapi.com/u53050573/e_c5a6294b.jpg - DIRECT/87.240.147.19 image/jpeg
1344839717.724 82 10.18.7.37 TCP_MISS/200 2775 GET http://cs303801.userapi.com/u13299896/e_9068f7e0.jpg - DIRECT/87.240.130.242 image/jpeg
1344839717.728 86 10.18.7.37 TCP_MISS/200 2988 GET http://cs403825.userapi.com/u33514560/e_e0e738c1.jpg - DIRECT/87.240.149.45 image/jpeg
1344839717.729 74 10.18.7.37 TCP_MISS/200 2960 GET http://cs309319.userapi.com/u88855703/e_54c8e86d.jpg - DIRECT/87.240.134.164 image/jpeg
1344839717.738 74 10.18.7.37 TCP_MISS/200 2189 GET http://cs9776.userapi.com/u165757346/e_3ab37b78.jpg - DIRECT/93.186.230.250 image/jpeg
1344839717.739 84 10.18.7.37 TCP_MISS/200 2741 GET http://cs309221.userapi.com/u25607802/e_d0a078af.jpg - DIRECT/87.240.134.150 image/jpeg
1344839717.755 90 10.18.7.37 TCP_MISS/200 2740 GET http://cs306307.userapi.com/u146892999/e_9c5fc197.jpg - DIRECT/87.240.133.40 image/jpeg
1344839717.816 86 10.18.7.37 TCP_MISS/200 2642 GET http://cs303305.userapi.com/u143238378/e_d981721a.jpg - DIRECT/87.240.130.166 image/jpeg
1344839717.819 78 10.18.7.37 TCP_MISS/200 2702 GET http://cs301213.userapi.com/u104474332/e_542f95b3.jpg - DIRECT/87.240.129.29 image/jpeg
1344839717.824 84 10.18.7.37 TCP_MISS/200 3343 GET http://cs304308.userapi.com/u143701066/e_4289b293.jpg - DIRECT/87.240.132.41 image/jpeg
1344839717.825 95 10.18.7.37 TCP_MISS/200 2619 GET http://cs5392.userapi.com/u80863179/e_034a4566.jpg - DIRECT/93.186.232.233 image/jpeg
1344839717.864 38 10.18.7.37 TCP_MISS/200 1149 GET http://vk.com/images/camera_c.gif - DIRECT/87.240.143.248 image/gif
1344839717.895 68 10.18.7.37 TCP_MISS/200 2606 GET http://cs301111.userapi.com/u178190049/e_5c7fe8d9.jpg - DIRECT/87.240.129.11 image/jpeg
1344839717.921 74 10.18.7.37 TCP_MISS/200 2858 GET http://cs317216.userapi.com/u12573200/e_be7c7563.jpg - DIRECT/87.240.139.145 image/jpeg
1344839717.931 85 10.18.7.37 TCP_MISS/200 2716 GET http://cs410418.userapi.com/u6153314/e_e5826bd4.jpg - DIRECT/87.240.151.51 image/jpeg
1344839717.936 90 10.18.7.37 TCP_MISS/200 2368 GET http://cs305807.userapi.com/u14139452/e_24f88112.jpg - DIRECT/87.240.132.248 image/jpeg
1344839717.944 117 10.18.7.37 TCP_MISS/200 2923 GET http://cs405917.userapi.com/u13672612/e_e58d38fc.jpg - DIRECT/87.240.146.130 image/jpeg
1344839717.948 82 10.18.7.37 TCP_MISS/200 2673 GET http://cs319119.userapi.com/u783800/e_88ad44e2.jpg - DIRECT/87.240.140.132 image/jpeg
1344839717.959 112 10.18.7.37 TCP_MISS/200 2734 GET http://cs302400.userapi.com/u3841175/e_86b837f8.jpg - DIRECT/87.240.130.33 image/jpeg
1344839717.974 127 10.18.7.37 TCP_MISS/200 2167 GET http://cs4567.userapi.com/u58169533/e_83abb244.jpg - DIRECT/93.186.237.191 image/jpeg
1344839718.690 1552 10.18.5.128 TCP_MISS/200 6289 CONNECT home.live.com:443 - DIRECT/64.4.37.223 -
1344839720.232 1541 10.18.5.128 TCP_MISS/200 15065 CONNECT login.live.com:443 - DIRECT/65.54.165.169 -
1344839721.186 74 10.18.5.128 TCP_MISS/200 915 GET http://www.google.ru/s? - DIRECT/173.194.35.223 application/json
1344839721.210 97 10.18.5.128 TCP_MISS/200 825 GET http://www.google.ru/complete/search? - DIRECT/173.194.35.223 application/json
1344839721.453 61 10.18.5.128 TCP_MISS/204 311 GET http://www.google.ru/gen_204? - DIRECT/173.194.35.223 text/html