[squid-users] More NTLM Problems

From: Johnny Doe <bcreigh843@dont-contact.us>
Date: Mon, 26 Jul 2004 05:39:01 -0700 (PDT)

I have read and read and I have but come up with
nothing. I can't seem to get ntlmssp to work. I can
get the basic to work fine but no luck with ntlmssp.
Squid starts up fine but I get a "The page cannot be
displayed" everytime. Here is my squid.conf

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
auth_param ntlm use_ntlm_negotiate on
auth_param ntlm program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
#auth_param ntlm program /usr/lib/squid/ntlm_auth
SMC/SMCNT3
auth_param ntlm children 30
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl CONNECT method CONNECT
acl AuthorizedUsers proxy_auth REQUIRED
http_access allow all AuthorizedUsers
http_access deny CONNECT !SSL_ports
visible_hostname SMCSquid
coredump_dir /var/spool/squid
useragent_log /var/log/squid/useragent.log

Here is my cache.log (notice what I get when I shut it
down)

2004/07/26 08:32:15| Starting Squid Cache version
2.5.STABLE5 for i386-redhat-linux-gnu...
2004/07/26 08:32:15| Process ID 10746
2004/07/26 08:32:15| With 1024 file descriptors
available
2004/07/26 08:32:15| DNS Socket created at 0.0.0.0,
port 32770, FD 4
2004/07/26 08:32:15| Adding nameserver 172.21.10.20
from /etc/resolv.conf
2004/07/26 08:32:15| Adding nameserver 172.21.10.21
from /etc/resolv.conf
2004/07/26 08:32:15| helperStatefulOpenServers:
Starting 30 'ntlm_auth' processes
2004/07/26 08:32:15| Referer logging is disabled.
2004/07/26 08:32:15| Unlinkd pipe opened on FD 40
2004/07/26 08:32:15| Swap maxSize 102400 KB, estimated
7876 objects
2004/07/26 08:32:15| Target number of buckets: 393
2004/07/26 08:32:15| Using 8192 Store buckets
2004/07/26 08:32:15| Max Mem size: 8192 KB
2004/07/26 08:32:15| Max Swap size: 102400 KB
2004/07/26 08:32:15| Rebuilding storage in
/var/spool/squid (CLEAN)
2004/07/26 08:32:15| Using Least Load store dir
selection
2004/07/26 08:32:15| Set Current Directory to
/var/spool/squid
2004/07/26 08:32:15| Loaded Icons.
2004/07/26 08:32:15| Accepting HTTP connections at
0.0.0.0, port 3128, FD 42.
2004/07/26 08:32:15| Accepting ICP messages at
0.0.0.0, port 3130, FD 43.
2004/07/26 08:32:15| WCCP Disabled.
2004/07/26 08:32:15| Ready to serve requests.
2004/07/26 08:32:15| Done reading /var/spool/squid
swaplog (267 entries)
2004/07/26 08:32:15| Finished rebuilding storage from
disk.
2004/07/26 08:32:15| 267 Entries scanned
2004/07/26 08:32:15| 0 Invalid entries.
2004/07/26 08:32:15| 0 With invalid flags.
2004/07/26 08:32:15| 267 Objects loaded.
2004/07/26 08:32:15| 0 Objects expired.
2004/07/26 08:32:15| 0 Objects cancelled.
2004/07/26 08:32:15| 0 Duplicate URLs purged.
2004/07/26 08:32:15| 0 Swapfile clashes
avoided.
2004/07/26 08:32:15| Took 0.4 seconds ( 633.6
objects/sec).
2004/07/26 08:32:15| Beginning Validation Procedure
2004/07/26 08:32:15| Completed Validation Procedure
2004/07/26 08:32:15| Validated 267 Entries
2004/07/26 08:32:15| store_swap_size = 1972k
2004/07/26 08:32:16| storeLateRelease: released 0
objects
2004/07/26 08:32:18| Preparing for shutdown after 0
requests
2004/07/26 08:32:18| Waiting 30 seconds for active
connections to finish
2004/07/26 08:32:18| FD 42 Closing HTTP connection
2004/07/26 08:32:19| Shutting down...
2004/07/26 08:32:19| FD 43 Closing ICP connection
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
2004/07/26 08:32:19| Closing unlinkd pipe on FD 40
2004/07/26 08:32:19| storeDirWriteCleanLogs:
Starting...
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
2004/07/26 08:32:19| Finished. Wrote 267 entries.
2004/07/26 08:32:19| Took 0.0 seconds (328413.3
entries/sec).
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
CPU Usage: 0.070 seconds = 0.028 user + 0.042 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 2376 KB
        Ordinary blocks: 2272 KB 7 blks
        Small blocks: 0 KB 4 blks
        Holding blocks: 200 KB 1 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 103 KB
        Total in use: 2472 KB 104%
        Total free: 103 KB 4%
2004/07/26 08:32:19| Squid Cache (Version
2.5.STABLE5): Exiting normally.
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
[2004/07/26 08:32:19, 1]
utils/ntlm_auth.c:manage_squid_request(1592)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)

And finally this is the what my access.log looks like

1090845330.214 0 172.21.10.68 TCP_DENIED/407 1625
GET http://www.google.com/ - NONE/- text/html
1090845330.238 3 172.21.10.68 TCP_DENIED/407 1902
GET http://www.google.com/ - NONE/- text/html

Any help would be great!!! Thanks alot

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Received on Mon Jul 26 2004 - 06:39:09 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT