Ensure we don't send a reply if we couldn't push the CLDAP blob
[kai/samba-autobuild/.git] / source4 / libcli / cldap / cldap.c
index 3867f3d3fd0ef28cc875fa477cd273dfcac08f7a..860bd358d5ec2139fba33c4ea95052cf48e995ce 100644 (file)
@@ -712,7 +712,7 @@ NTSTATUS cldap_netlogon_reply(struct cldap_socket *cldap,
        status = push_netlogon_samlogon_response(&blob, tmp_ctx, cldap->iconv_convenience,
                                                 netlogon);
        if (!NT_STATUS_IS_OK(status)) {
-
+               return status;
        }
        reply.messageid    = message_id;
        reply.dest         = src;