[Samba] Problem with ntlm_auth

Tilo Lutz TiloLutz at gmx.de
Sat Oct 15 07:31:37 GMT 2005


Hi

I use suse 10.0 and have problems to set up ntlm_auth for squid.
It uses samba 3.0.20 and squid 2.5.stable10

I have set up winbind and everyhting seems to work.
I've changes groupownerchip of /var/lib/samba/winbindd_privileged
to squid. squid runs as group squid.

Everyhting is working fine for several minutes.
After a while it doesn't work anymore

proxy:/var/log/samba # /usr/local/sbin/ntlm_auth 
--helper-protocol=squid-2.5-basic --debuglevel=3
tilo *secret*
[2005/10/15 09:25:11, 3] utils/ntlm_auth.c:check_plaintext_auth(292)
  NT_STATUS_INVALID_HANDLE: Invalid handle (0xc0000008)
ERR

After restarting winbindd it works again:

proxy:/var/log/samba # /usr/local/sbin/ntlm_auth 
--helper-protocol=squid-2.5-basic --debuglevel=3
tilo *secret*
[2005/10/15 09:26:49, 3] utils/ntlm_auth.c:check_plaintext_auth(292)
  NT_STATUS_OK: Success (0x0)
OK

log.winbindd (log level=3) doesn't show anything interessting:
[2005/10/15 09:31:12, 3] 
nsswitch/winbindd_misc.c:winbindd_interface_version(460)
  [    0]: request interface version
[2005/10/15 09:31:12, 3] nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(493)
  [    0]: request location of privileged pipe
[2005/10/15 09:31:12, 3] nsswitch/winbindd_pam.c:winbindd_pam_auth(202)
  [    0]: pam auth tilo

Any idea how to keep it running?

Cheers, Tilo


More information about the samba mailing list