46242d8 Ticket #48183 - bind on db chained to AD returns err=32

Authored and Committed by nhosoi 8 years ago
    Ticket #48183 - bind on db chained to AD returns err=32
    
    Description by rmeggins@redhat.com: bind is doing a search for the entry
    post bind, which fails because we don't enable password policy chaining
    by default. I think in this case, we should not look up password policy,
    because if the remote is AD or some other non-389 server, we can't use
    the password policy information. We should instead rely on the remote
    server to evaluate the password policy.
    
    The commit 4fc53e1a63222d0ff67c30a59f2cff4b535f90a8 introduced the bug.
    Ticket #47748 - Simultaneous adding a user and binding as the user could
                    fail in the password policy check
    
    https://fedorahosted.org/389/ticket/48183
    
    Revewed by nhosoi@redhat.com.
    
    (cherry picked from commit eb46e6f1975b19956bb38d5e070e6eb5159200b4)
    (cherry picked from commit 03bee0a0d4dbe313bca88cfafc605f6cb01b9fdc)
    
        
file modified
+2 -1