[Samba] mod_auth_ntlm_winbind

Scott Barnett scottb at thuringowa.qld.gov.au
Thu Mar 1 02:37:16 GMT 2007

I'm having some difficulties with mod_auth_ntlm_winbind. Winbind and
samba are configured and working well, I can create shares and set
permissions to AD groups. Wbinfo -u and wbinfo -g work fine.

Whenever I try and hit the folder with a web browser, it prompts for a
username and password and then comes back with a 401: authorization

In the apache error log I get:

[2007/03/01 12:05:09, 1] libsmb/ntlmssp.c:ntlmssp_update(267)
  got NTLMSSP command 3, expected 1

If I turn on debugging (LogLevel debug), I get this in the virtual
host's error log:

[Thu Mar 01 12:19:27 2007] [debug] mod_auth_ntlm_winbind.c(1018):
[client] doing ntlm auth dance
[Thu Mar 01 12:19:27 2007] [debug] mod_auth_ntlm_winbind.c(484): [client] Using existing auth helper 4385
[Thu Mar 01 12:19:27 2007] [debug] mod_auth_ntlm_winbind.c(652): [client] creating auth user
[Thu Mar 01 12:19:27 2007] [debug] mod_auth_ntlm_winbind.c(703): [client] parsing reply from helper to YR
[Thu Mar 01 12:19:27 2007] [debug] mod_auth_ntlm_winbind.c(741): [client] got response: NA NT_STATUS_INVALID_PARAMETER
[Thu Mar 01 12:19:27 2007] [debug] mod_auth_ntlm_winbind.c(765): [client] user not authenticated: NT_STATUS_INVALID_PARAMETER

Any help or ideas would appreciated :)

Cheers, Scott.

More information about the samba mailing list