CVE-2015-5370: python/samba/tests: add some dcerpc raw_protocol tests
commit2c6f01dd6668d97b522c76d3d489582c6b479bed
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Mar 2014 21:42:19 +0000 (26 22:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 30 Mar 2016 02:39:51 +0000 (30 04:39 +0200)
tree5d6bd18ec863d7579dafc6018f71e43036048f2a
parent78b84d56839d1636436e39750a816bd4f74ac8b2
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]