You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/11/13 18:07:33 UTC

[jira] [Resolved] (DIRSERVER-2018) Race condition in PasswordPolicy Bind handling

     [ https://issues.apache.org/jira/browse/DIRSERVER-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-2018.
------------------------------------------
    Resolution: Fixed

Fixed with http://svn.apache.org/r1639394

> Race condition in PasswordPolicy Bind handling
> ----------------------------------------------
>
>                 Key: DIRSERVER-2018
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2018
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M17
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-M18
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)