CVE-2015-5370: s3:rpc_server: let a failing auth3 mark the authentication as invalid
authorStefan Metzmacher <metze@samba.org>
Tue, 14 Jul 2015 14:18:45 +0000 (16:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 12 Apr 2016 17:25:31 +0000 (19:25 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11344

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/rpc_server/srv_pipe.c

index 2926f06d5f89861bacd7c4684fb77f6f9f3817e2..a37cb3f6918beaff03de8f587c4a897110d24c29 100644 (file)
@@ -926,7 +926,7 @@ bool api_pipe_bind_auth3(struct pipes_struct *p, struct ncacn_packet *pkt)
        return true;
 
 err:
-
+       p->pipe_bound = false;
        TALLOC_FREE(p->auth.auth_ctx);
        return false;
 }