Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2018

Race condition in PasswordPolicy Bind handling

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M17
    • Fix Version/s: 2.0.0-M18
    • Component/s: None
    • Labels:
      None

      Description

      If the server is fast enough, then in some case, some PasswordPolicy tests fail because the second bind attempt is done before the LdapSession is marked as Anonymous.

      This is due to the fact we do write the response before switching the LdapSession to Anonymous, giving a chance for another thread to do a bind.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elecharny Emmanuel Lecharny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: