s4/ldap_bind: notice backend init failure
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 8 May 2019 03:52:31 +0000 (15:52 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 May 2019 01:15:16 +0000 (01:15 +0000)
This should silence CID 1418508 and CID 1418512

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/ldap_server/ldap_bind.c

index 7694ff4aab5c077f7057b52b6cd69596e471ee83..5cddecd79be44615925036846b8d68527348235b 100644 (file)
@@ -599,6 +599,7 @@ static void ldapsrv_BindSASL_done(struct tevent_req *subreq)
                                       "SASL Bind: Failed to advise "
                                       "ldb new credentials");
                result = LDB_ERR_OPERATIONS_ERROR;
                                       "SASL Bind: Failed to advise "
                                       "ldb new credentials");
                result = LDB_ERR_OPERATIONS_ERROR;
+               goto do_reply;
        }
 
        if (context != NULL) {
        }
 
        if (context != NULL) {