Re: [squid-users] Squid 2.5 configuration Problem with ntlm

From: Guido Serassio <serassio@dont-contact.us>
Date: Tue, 01 Oct 2002 19:43:13 +0200

Hi,

Il 18.03 01/10/2002 s.lebriero@free.Fr ha scritto:
>I try to install Squid-2.5-stable1 on a linux i386 machine with a 2.4.17 =
>kernel, running samba 2.2.3a, member of an NT 4.0 domain.
>
>Connections timeout. Am I doing wrong ?=20

Samba 2.2.3a is wrong, 2.4 or greater is needed.

>Is ther a documentation for Squid 2.5 ntlm ?

FAQ.
http://www.squid-cache.org/Doc/FAQ/FAQ-23.html#ss23.5

Regards

Guido

>Help greatly appreciated.
>
>Sylvain Le Briero

Samba 2.2.3a, 2.4 or greater is needed:

>Here is my configure line :
> ./configure --sysconfdir=/etc/squid --enable-delay-pools =
>--enable-underscores --enable-auth=3D"ntlm basic" =
>--enable-ntlm-auth-helpers="SMB" --enable-basic-auth-helpers="SMB" =
>--enable-ntlm-fail-open
>
>make and make install both work fine.
>
>When i call manually
>/usr/local/squid/libexec/ntlm_auth Domain/pdc -d
>ntlm-auth[306](ntlm_auth.c:187): Adding domain-controller domain/pdc
>ntlm-auth[306](ntlm_auth.c:460): options processed OK
>myname
>ntlm-auth[306](ntlm_auth.c:284): managing request
>ntlm-auth[306](ntlm_auth.c:290): ntlm authenticator. Got 'myname' from =
>Squid
>ntlm-auth[306](ntlm_auth.c:440): sending 'BH Helper detected protocol =
>error' to squid
>BH Helper detected protocol error
>
>output from squid :
>
># /usr/local/squid/sbin/squid -d 1 -N
>2002/10/01 17:55:13| Starting Squid Cache version 2.5.STABLE1-20020929 =
>for i686-pc-linux-gnu...
>2002/10/01 17:55:13| Process ID 329
>2002/10/01 17:55:13| With 1024 file descriptors available
>2002/10/01 17:55:13| Performing DNS Tests...
>2002/10/01 17:55:13| Successful DNS name lookup tests...
>2002/10/01 17:55:13| DNS Socket created at 0.0.0.0, port 1029, FD 5
>2002/10/01 17:55:13| Adding nameserver 127.0.0.1 from /etc/resolv.conf
>2002/10/01 17:55:13| helperStatefulOpenServers: Starting 5 'ntlm_auth' =
>processes
>2002/10/01 17:55:13| Unlinkd pipe opened on FD 15
>2002/10/01 17:55:13| Swap maxSize 102400 KB, estimated 7876 objects
>2002/10/01 17:55:13| Target number of buckets: 393
>2002/10/01 17:55:13| Using 8192 Store buckets
>2002/10/01 17:55:13| Max Mem size: 8192 KB
>2002/10/01 17:55:13| Max Swap size: 102400 KB
>2002/10/01 17:55:13| Rebuilding storage in /usr/local/squid/var/cache =
>(CLEAN)
>2002/10/01 17:55:13| Using Least Load store dir selection
>2002/10/01 17:55:13| Set Current Directory to /usr/local/squid/var/cache
>2002/10/01 17:55:13| Loaded Icons.
>2002/10/01 17:55:13| Accepting HTTP connections at 0.0.0.0, port 8080, =
>FD 16.
>2002/10/01 17:55:13| Accepting ICP messages at 0.0.0.0, port 3130, FD =
>17.
>2002/10/01 17:55:13| WCCP Disabled.
>2002/10/01 17:55:13| Ready to serve requests.
>2002/10/01 17:55:14| Done scanning /usr/local/squid/var/cache swaplog (0 =
>entries)
>2002/10/01 17:55:14| Finished rebuilding storage from disk.
>2002/10/01 17:55:14| 0 Entries scanned
>2002/10/01 17:55:14| 0 Invalid entries.
>2002/10/01 17:55:14| 0 With invalid flags.
>2002/10/01 17:55:14| 0 Objects loaded.
>2002/10/01 17:55:14| 0 Objects expired.
>2002/10/01 17:55:14| 0 Objects cancelled.
>2002/10/01 17:55:14| 0 Duplicate URLs purged.
>2002/10/01 17:55:14| 0 Swapfile clashes avoided.
>2002/10/01 17:55:14| Took 0.7 seconds ( 0.0 objects/sec).
>2002/10/01 17:55:14| Beginning Validation Procedure
>2002/10/01 17:55:14| Completed Validation Procedure
>2002/10/01 17:55:14| Validated 0 Entries
>2002/10/01 17:55:14| store_swap_size =3D 0k
>2002/10/01 17:55:14| storeLateRelease: released 0 objects
>2002/10/01 17:55:36| Preparing for shutdown after 1 requests
>2002/10/01 17:55:36| Waiting 0 seconds for active connections to finish
>2002/10/01 17:55:36| FD 16 Closing HTTP connection
>2002/10/01 17:55:37| Shutting down...
>2002/10/01 17:55:37| FD 17 Closing ICP connection
>2002/10/01 17:55:37| WARNING: Closing client 199.6.94.61 connection due
>to lifetime timeout
>2002/10/01 17:55:37| http://www.telelangue.com/
>2002/10/01 17:55:37| assertion failed: ntlm/auth_ntlm.c:111: =
>"memPoolInUseCount(ntlm_helper_state_pool) == 0"
>2002/10/01 17:55:37| assertion failed: ntlm/auth_ntlm.c:116: =
>"memPoolInUseCount(ntlm_request_pool) == 0"
>2002/10/01 17:55:37| assertion failed: ntlm/auth_ntlm.c:121: =
>"memPoolInUseCount(ntlm_user_pool) == 0"
>2002/10/01 17:55:37| Closing unlinkd pipe on FD 15
>2002/10/01 17:55:37| storeDirWriteCleanLogs: Starting...
>2002/10/01 17:55:38| Finished. Wrote 0 entries.
>2002/10/01 17:55:38| Took 0.0 seconds ( 0.0 entries/sec).

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Tue Oct 01 2002 - 11:43:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:34 MST