mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

1bb2a66 Ticket #47748 - Simultaneous adding a user and binding as the user could fail in the password policy check

Authored and Committed by nhosoi 9 years ago
    Ticket #47748 - Simultaneous adding a user and binding as the user could fail in the password policy check
    
    Description: commit 4fc53e1a63222d0ff67c30a59f2cff4b535f90a8 fix for
    Ticket #47748 introduced a bug: "Simple bind hangs after enabling
    password policy".
    
    In do_bind, slapi_check_account_lock and need_new_pw overwrote the
    return code from backend bind which is used later. This patch fixes
    it not to override the return code.
    
    https://fedorahosted.org/389/ticket/47748
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
    
    (cherry picked from commit 4f11606b02419c8ccdb319b8040e683af9109d1b)
    (cherry picked from commit 8c82941c0f2b0b5d7fa698a1ca3e4f26245cf85a)
    (cherry picked from commit 5b6d60ec4d3d93d1d69f6a071ce135a06f4c8cfd)
    (cherry picked from commit aa935c9a9297ab22d3c7fc17381e735521d9cd03)
    
        
file modified
+7 -6