70e9664 Ticket 400 - BIND operation result not checked properly in admin server

Authored and Committed by mreynolds 11 years ago
    Ticket 400 - BIND operation result not checked properly in admin server
    
    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.
    
                      Also did a litte code cleanup.
    
    https://fedorahosted.org/389/ticket/400
    
    Reviewed by: ?
    
        
file modified
+23 -12