RE: SMB_AUTH HELP ME!!!!

From: R.Ilker Gokhan <IlkerG@dont-contact.us>
Date: Wed, 21 Jun 2000 18:35:29 +0300

-
http_port 3128
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /cache 200 16 256
emulate_httpd_log off
redirect_rewrites_host_header off
replacement_policy GDSF

#REDIRECT TO PARENT
cache_peer 172.16.10.1 parent 3128 0 no-query default
acl all src 0.0.0.0/0.0.0.0
never_direct allow all

#AUTHENTICATION
authenticate_program /usr/bin/smb_auth -W hexa -S /netlogon/proxyauth
acl users proxy_auth REQUIRED
http_access allow users

cache_mgr some@company.com
cache_effective_user squid
cache_effective_group squid
httpd_accel_host 172.16.10.1
httpd_accel_port 3128
log_icp_queries off
cachemgr_passwd hexa all
buffered_logs on

ATENTION: The option -S is a mounted share (by smbmount) of my netlogon
share on NT DOMAIN SERVER.
        
        So, it isn't necessary using -S option if the proxyauth file on the
Netlogon. There are two type of squid log access_log format that are
called Native and Common formats. See:

        http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.6
        
        According to access_log.c:

        accessLogSquid: ---> this is Native access_log format's funtion.
        memBufPrintf(mb, "%9d.%03d %6d %s %s/%03d %d %s %s %s %s%s/%s %s",
                        (int) current_time.tv_sec,
                       (int) current_time.tv_usec / 1000,
                        al->cache.msec,
                        client,
                        log_tags[al->cache.code],
                        al->http.code,
                        al->cache.size,
                        al->private.method_str,
                        al->url,
                        al->cache.ident, =================> In here, this
mean that is RFC931 (the remote log name of the user)
                        al->hier.ping.timedout ? "TIMEOUT_" : "",
                        hier_strings[al->hier.code],
                        al->hier.host,
                        al->http.content_type);
        
        accessLogCommon: --> this is Common log format's function.
        memBufPrintf(mb, "%s %s - [%s] \"%s %s HTTP/%.1f\" %d %d %s:%s",
                        client,
                        al->cache.ident, ================>
                        mkhttpdlogtime(&squid_curtime),
                       al->private.method_str,
                       al->url,
                       al->http.version,
                      al->http.code,
                       al->cache.size,
                       log_tags[al->cache.code],
                       hier_strings[al->hier.code]);
        
        I'm not sure but whether Have you used --disable-ident option when
you have compiled your squid? If you don't any analeyzer program try
one common log format with "emulate_hhtpd_log on".

        Best regards,
        Ilker G.
Received on Wed Jun 21 2000 - 09:36:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:06 MST