Ensure we don't send a reply if we couldn't push the CLDAP blob
authorAndrew Bartlett <abartlet@samba.org>
Sat, 17 May 2008 11:30:36 +0000 (21:30 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 17 May 2008 11:30:36 +0000 (21:30 +1000)
Andrew Bartlett
(This used to be commit a8ec36eba79f96940f314520f97d23181bc9cfc5)

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;