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

Race condition in PasswordPolicy Bind handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0-M17
    • 2.0.0-M18
    • None
    • 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

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: