Hi guys,
Sorry I try not call for help, but even with all the faq, the link and the
other messages I'm unable to make squid work in my config.
So here it is:
Samba 3.0.0
Squid 2.5 stable 4
Solaris 8
Samba was include in my ADS on my win2003
here is some output:
bash-2.05# /opt/samba/bin/wbinfo -t
checking the trust secret via RPC calls succeeded
bash-2.05# /opt/samba/bin/wbinfo -a login%password
plaintext password authentication failed
error code was NT_STATUS_INVALID_PARAMETER (0xc000000d)
error messsage was: Unexpected information received
Could not authenticate user login%password with plaintext password
challenge/response password authentication succeeded
bash-2.05# /opt/samba/bin/ntlm_auth --username=login
password:
NT_STATUS_OK: Success (0x0)
bash-2.05# ../../sbin/squid -v
Squid Cache: Version 2.5.STABLE4
configure options: --enable-snmp --with-openssl=/opt/ssl
--enable-auth=basic,ntlm '--enable-ntlm-auth-helpers=SMB winbind fakeauth'
--enable-storeio=diskd,ufs --enable-external-acl-helpers=wbinfo_group
--enable-ntlm-fail-open --enable-ntlm-authentication --enable-snmp
the squid.conf (the part with the authentication):
auth_param ntlm program /usr/local/samba/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 32
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
#
auth_param ntlm program /usr/local/samba/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param basic children 32
auth_param basic realm Internet access control Lausanne
auth_param basic credentialsttl 2 hours
acl log-auth proxy_auth REQUIRED
http_access allow log-auth
http_access deny all
and the result in my cache.log:
2003/11/27 17:00:49| Unlinkd pipe opened on FD 47
2003/11/27 17:00:49| Swap maxSize 2048000 KB, estimated 157538 objects
2003/11/27 17:00:49| Target number of buckets: 7876
2003/11/27 17:00:49| Using 8192 Store buckets
2003/11/27 17:00:49| Max Mem size: 212992 KB
2003/11/27 17:00:49| Max Swap size: 2048000 KB
2003/11/27 17:00:49| Store logging disabled
2003/11/27 17:00:49| Rebuilding storage in /cache (CLEAN)
2003/11/27 17:00:49| Using Least Load store dir selection
2003/11/27 17:00:49| Set Current Directory to /usr/local/squid/var
2003/11/27 17:00:49| Loaded Icons.
2003/11/27 17:00:49| Accepting HTTP connections at 0.0.0.0, port 8080, FD
46.
2003/11/27 17:00:49| Accepting ICP messages at 0.0.0.0, port 3130, FD 48.
2003/11/27 17:00:49| Accepting SNMP messages on port 3401, FD 50.
2003/11/27 17:00:49| WCCP Disabled.
2003/11/27 17:00:49| Ready to serve requests.
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
fgets() failed! dying..... errno=0 (Error 0)
fgets() failed! dying..... errno=0 (Error 0)
fgets() failed! dying..... errno=0 (Error 0)
fgets() failed! dying..... errno=0 (Error 0)
fgets() failed! dying..... errno=0 (Error 0)
fgets() failed! dying..... errno=0 (Error 0)
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/27 17:01:20, 1] utils/ntlm_auth.c:manage_squid_request(1042)
fgets() failed! dying..... errno=0 (Error 0)
any clue ?
tahnks for your help.
regards,
Arno
PS: can you tell me why I have that in my cache.log:
[2003/11/27 17:00:49, 0] lib/charcnv.c:init_iconv(134)
Conversion from UCS-2LE to CP850 not supported
[2003/11/27 17:00:49, 0] lib/charcnv.c:init_iconv(134)
Conversion from UTF8 to CP850 not supported
[2003/11/27 17:00:49, 0] lib/charcnv.c:init_iconv(134)
Conversion from 646 to CP850 not supported
[2003/11/27 17:00:49, 0] lib/charcnv.c:init_iconv(134)
Conversion from CP850 to UCS-2LE not supported
[2003/11/27 17:00:49, 0] lib/charcnv.c:init_iconv(134)
Conversion from CP850 to UTF8 not supported
[2003/11/27 17:00:49, 0] lib/charcnv.c:init_iconv(134)
Conversion from CP850 to 646 not supported
[2003/11/27 17:00:49, 0] lib/charcnv.c:init_iconv(134)
and so on
******************************************************************
DISCLAIMER - E-MAIL
-------------------
The information contained in this E-Mail is intended for the named
recipient(s). It may contain certain privileged and confidential
information, or information which is otherwise protected from
disclosure. If you are not the intended recipient, you must not
copy,distribute or take any action in reliance on this information
******************************************************************
Received on Thu Nov 27 2003 - 09:19:55 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:40 MST