[squid-users] libsmb/ntlmssp.c:ntlmssp_update(252)

From: Rodrigo A B Freire <zazgyn@dont-contact.us>
Date: Tue, 11 Oct 2005 17:08:51 -0300

    People,

    I'm getting lots of:

libsmb/ntlmssp.c:ntlmssp_update(252)
  got NTLMSSP command 3, expected 1

    When I get this error, the proxy asks me for a user and password.

    This happens with IE6 and Mozilla 1.0.4.

    Is there any fix? I've tried some dirty hacks, all of them failed:

Edited ntlmssp.c and commented the entire section on samba:

// if (ntlmssp_command != ntlmssp_state->expected_state) {
// DEBUG(1, ("got NTLMSSP command %u, expected %u\n", ntlmssp_command,
ntlmssp_state->expected_state));
// return NT_STATUS_INVALID_PARAMETER;
// }

- Failed.

Tried:

 if (ntlmssp_command != ntlmssp_state->expected_state) {
   DEBUG(1, ("got NTLMSSP command %u, expected %u\n", ntlmssp_command,
ntlmssp_state->expected_state));
   return NT_STATUS_OK;
 }

- Failed, Squid died with
2005/10/11 09:51:40| assertion failed: ntlm/auth_ntlm.c:523:
"ntlm_request->auth_state == AUTHENTICATE_STATE_RESPONSE"

Tried:

 if (ntlmssp_command != ntlmssp_state->expected_state) {
   DEBUG(1, ("got NTLMSSP command %u, expected %u\n", ntlmssp_command,
ntlmssp_state->expected_state));
// return NT_STATUS_INVALID_PARAMETER;
 }

- Failed.

Also tried changing:

// if (ntlmssp_command != ntlmssp_state->expected_state) {
   if (ntlmssp_command != ntlmssp_state) {

- No joy.

Looked line 523 on squid auth_ntlm.c:

        assert(ntlm_request->auth_state == AUTHENTICATE_STATE_RESPONSE);

No inspiration.

    Well, since I'm not a C programmer, I ran out of ideas... :-)

    Any hint for just IGNORING and ALLOWING the access when this error
arise?

    Thanks,

    Rodrigo.
Received on Tue Oct 11 2005 - 14:09:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST