CVE-2015-5370: python/samba/tests: add some dcerpc raw_protocol tests
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Mar 2014 21:42:19 +0000 (22:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 12 Apr 2016 17:25:32 +0000 (19:25 +0200)
commit4a53c8a588dc4cbc57575a7a817e2a776bbf644b
tree24bf704ff7f3d15f1e79a879eb2f69ac63a0fae4
parent782e8e2abd861bc6a96d51ba199ab21192e4786b
CVE-2015-5370: python/samba/tests: add some dcerpc raw_protocol tests

These are independent from our client library and allow
testing of invalid pdus.

It can be used like this in standalone mode:

SMB_CONF_PATH=/dev/null SERVER=172.31.9.188 python/samba/tests/dcerpc/raw_protocol.py
or
SMB_CONF_PATH=/dev/null SERVER=172.31.9.188 python/samba/tests/dcerpc/raw_protocol.py -v -f TestDCERPC_BIND.test_invalid_auth_noctx

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>
python/samba/tests/dcerpc/raw_protocol.py [new file with mode: 0755]