Menu

#19 Intermittent Login Failures

open
nobody
None
5
2003-12-16
2003-12-16
Anonymous
No

I'm seeing a number of "authentication failure" messages
appear in the logs and getting reports from a number of
users that are getting the login dialog erroneously.

This problem only appears to occur under load and
occurs irregularly. Some users do not hit this problem,
while others see it frequently. If the user closes their
browser and opens a new browser the problem is often
solved. Also, if they wait for the KeepAlive time to
expire, and press refresh, they are generally
authenticated correctly.

For users who are not logged onto the correct domain,
the password prompt is raised (which is correct), but
their authentication details are often refused. Again, if
the user then cancels the login dialog, waits for the
KeepAlive timeout to expire, and presses refresh, they
are typically allowed in.

I currently have the KeepAlive time set to 15 seconds.

I've done an strace of the process and found that the
authentication failures occur when getting SIGPIPE
(broken pipe) errors when trying to communicate with
the domain controller.

I have tried the reload patch but this doesn't seem to
help, nor does it prevent the login dialog if I sit there
pressing the refresh button quickly.

We're running:
Red Hat Linux 7.2
Apache Web Server 1.3.27-2

and are running against Win2K domain controllers.

I would appreciate any suggestions.

Best regards,

Brett Beaumont
Sytec Resources Ltd.

Discussion

  • Einar Otto Stangvik

    Logged In: YES
    user_id=968828

    My remake fixes this problem. We had the exact same problem
    you're having, but it works like a charm now :)

     
  • Einar Otto Stangvik

    Logged In: YES
    user_id=968828

    See http://coded.us for more information. I've still haven't
    been able to contact the creators of mod_ntlm, so no
    updates have been added to this page.

     
  • Anup

    Anup - 2004-06-10

    Logged In: YES
    user_id=1060447

    Hi einaros..

    What do you have to do different from the normal make to fix
    the problem... Thanks in Advance
    Anup

     
  • Einar Otto Stangvik

    Logged In: YES
    user_id=968828

    anuvij: See http://source.grep.no

     
  • Nobody/Anonymous

    Logged In: NO

    Try setting MaxKeepAliveConnections to zero. That is what
    solved this for me.

    Chris McIntosh

     

Log in to post a comment.

MongoDB Logo MongoDB