[squid-users] Make Dansguardian working with squid 3.2 + NTLM: Cannot initialise conversion from UTF-16LE to UTF-8

From: David Touzeau <david_at_touzeau.eu>
Date: Tue, 20 Dec 2011 11:50:28 +0100

Dear all

I'm writing this topic here because it seems that the dansguardian
mailing list is very silent.

I have set squid 3.2 with nlm has this

 #--------- NTLM AUTH settings
auth_param ntlm program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param basic program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-basic
auth_param ntlm children 15
auth_param basic children 15
auth_param basic credentialsttl 5 hours
auth_param basic casesensitive off
auth_param basic realm Squid/NTLM proxy-caching web server
authenticate_cache_garbage_interval 10 seconds
auth_param basic credentialsttl 2 hour

authenticate_ttl 1 hour

authenticate_ip_ttl 60 seconds

** The NTLM authentication with "only squid" works fine ***

But, when adding dansguardian with proxy-ntlm plugin there is this error

Dec 20 11:48:18 squid32-64 squid[22693]: storeLateRelease: released 0
objects
Dec 20 11:48:21 squid32-64 squid[22693]: Starting new ntlmauthenticator
helpers...
Dec 20 11:48:21 squid32-64 squid[22693]: helperOpenServers: Starting
1/15 'ntlm_auth' processes
Dec 20 11:48:21 squid32-64 dansguardian[22681]: NTLM - Cannot initialise
conversion from UTF-16LE to UTF-8: Invalid argument
Dec 20 11:48:21 squid32-64 dansguardian[22681]: Auth plugin returned
error code: -2
Dec 20 11:48:21 squid32-64 dansguardian[22681]: NTLM - Cannot initialise
conversion from UTF-16LE to UTF-8: Invalid argument
Dec 20 11:48:21 squid32-64 dansguardian[22681]: Auth plugin returned
error code: -2

Does anybody meet this issue ?
What does "Cannot initialise conversion from UTF-16LE to UTF-8 means" ?

Best regards
Received on Tue Dec 20 2011 - 10:50:38 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 20 2011 - 12:00:03 MST