LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Squid and NTLM authentication (https://www.linuxquestions.org/questions/linux-server-73/squid-and-ntlm-authentication-575020/)

jean-luch 08-06-2007 03:42 AM

Squid and NTLM authentication
 
I am new on this forum .
I try to install a proxy server using squid 2.6.STABLE5 for i386-debian-linux .I have installed samba, kerberos , windbind .

I have configured the squid.conf like this :
auth_param ntlm program

/usr/bin/ntlm_auth--helper-protocol=squid-2.5-basic --require-membership-of=AURUS-SYSTEMES.LOCAL\\accessweb
auth_param basic children 5
auth_param basic credentialsttl 2 hours
acl ntlm proxy_auth REQUIRED
http_access allow ntlm

I have tested the ntlm_auth and it works fine


When I run a browser using with an account not in the accessweb group , the system ask for a username password .

I cannot display any pages . The log files gives :

Aug 6 10:07:47 localhost squid[20715]: clientReadRequest: FD 22 (192.168.30.204:3383) Invalid Request
Aug 6 10:08:21 localhost squid[20715]: storeDirWriteCleanLogs: Starting...
Aug 6 10:08:21 localhost squid[20715]: WARNING: Closing open FD 23
Aug 6 10:08:21 localhost squid[20715]: commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=23: (1) Operation not permitted
Aug 6 10:08:21 localhost squid[20715]: 65536 entries written so far.
Aug 6 10:08:21 localhost squid[20715]: Finished. Wrote 109868 entries.
Aug 6 10:08:21 localhost squid[20715]: Took 0.0 seconds (3522087.6 entries/sec).
Aug 6 10:08:21 localhost squid[20715]: authenticateNTLMHandleReply: *** Unsupported helper response ***, 'ERR'
Aug 6 10:08:21 localhost squid[20676]: Squid Parent: child process 20715 exited due to signal 6
Aug 6 10:08:24 localhost squid[20676]: Squid Parent: child process 20741 started
Aug 6 10:08:24 localhost squid[20741]: Starting Squid Cache version 2.6.STABLE5 for i386-debian-linux-gnu...
Aug 6 10:08:24 localhost squid[20741]: Process ID 20741

I get the same thing when I log with an account in the appropriate accesweb group .

Any Idea or clue ?

Thanks in advance


All times are GMT -5. The time now is 01:53 PM.