s3:rpc_server/netlogon: return a zero return_authenticator on error
authorStefan Metzmacher <metze@samba.org>
Sat, 11 Jan 2014 16:13:04 +0000 (17:13 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 22 Jan 2014 16:12:21 +0000 (17:12 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/netlogon/srv_netlog_nt.c

index c83963393f6b7bf3c006517110e3b2723703d4a6..e3e7a3ee6917a6ebdb297fea52117af6e28b9637 100644 (file)
@@ -1018,6 +1018,7 @@ NTSTATUS _netr_ServerAuthenticate3(struct pipes_struct *p,
        talloc_unlink(p->mem_ctx, lp_ctx);
 
        if (!NT_STATUS_IS_OK(status)) {
+               ZERO_STRUCTP(r->out.return_credentials);
                goto out;
        }