Search squid archive

libsmb/ntlmssp.c:ntlmssp_update(252)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux