summaryrefslogtreecommitdiff
path: root/python/samba
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-02-21 00:50:26 +0100
committerRalph Boehme <slow@samba.org>2018-02-21 14:19:19 +0100
commit65e8edb382fbc7450919aad8b42cfcae9e779d11 (patch)
treec5590f547a3e4a2f01be6fd48fe606b1449cd0b0 /python/samba
parent3a7ebd0e940e80b185a9240c093e1fee6795fd5b (diff)
downloadsamba-65e8edb382fbc7450919aad8b42cfcae9e779d11.tar.gz
tests:dcerpc/raw_protocol: reproduce call_id truncation bug
We need to make sure the server handles call_id values > UINT16_MAX. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13289 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'python/samba')
-rwxr-xr-xpython/samba/tests/dcerpc/raw_protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/tests/dcerpc/raw_protocol.py b/python/samba/tests/dcerpc/raw_protocol.py
index 587df540d09..ff815e97ca6 100755
--- a/python/samba/tests/dcerpc/raw_protocol.py
+++ b/python/samba/tests/dcerpc/raw_protocol.py
@@ -1974,7 +1974,7 @@ class TestDCERPC_BIND(RawDCERPCTest):
# And now try a request without auth_info
# netr_ServerReqChallenge()
- req = self.generate_request(call_id = 2,
+ req = self.generate_request(call_id = 0x21234,
pfc_flags=pfc_flags,
context_id=ctx.context_id,
opnum=4,