cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

5a47d09 Ticket 399 - slapi_ldap_bind() doesn't check bind results

Authored and Committed by mreynolds 11 years ago
    Ticket 399 - slapi_ldap_bind() doesn't check bind results
    
    Bug Description:  There are two issues here.  One, we were not calling ldap_parse_result()
                      for SIMPLE binds.  Two, we were overwriting the error code, with the
                      function result code.
    
    Fix Description:  Always call ldap_parse_result, and use a separate error code variable to
                      preserve the actual result code from the bind operation.
    
    https://fedorahosted.org/389/ticket/399
    
        
file modified
+19 -12