[Samba] samba + squid + ntlm

Francesco Defilippo francesco.defilippo at sys-net.it
Sat May 15 12:40:53 GMT 2004


Hi everibody!

    I'v a samba pdc, I'v tried to use squid with ntlmssp to authenticate
but I'v some problem with authentication popup :(, on the cache.log of squid
I see:

  ...
  NTLMSSP challenge
  NTLMSSP challenge
  NTLMSSP Sign/Seal - Initialising with flags:
  NTLMSSP Sign/Seal - using NT KEY
  NTLMSSP OK!
  NTLMSSP Sign/Seal - Initialising with flags:
  NTLMSSP Sign/Seal - using NT KEY
  NTLMSSP OK!
  NTLMSSP NT_STATUS_WRONG_PASSWORD
  NTLMSSP Sign/Seal - Initialising with flags:
  NTLMSSP Sign/Seal - using NT KEY
  ...


why NT_STATUS_WRONG_PASSWORD ?

my portion of smb.conf:

        lanman auth = Yes
        ntlm auth = Yes
        client NTLMv2 auth = Yes
        client lanman auth = Yes
        client plaintext auth = No
        winbind cache time = 15

my squid.conf:

        auth_param ntlm program /usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp
        auth_param ntlm children 5
        auth_param ntlm max_challenge_reuses 0
        auth_param ntlm max_challenge_lifetime 15 minutes

my client are w2k.


francesco.


More information about the samba mailing list