summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-02-21 00:50:26 +0100
committerKarolin Seeger <kseeger@samba.org>2018-04-25 08:49:13 +0200
commitbdfdf93f0ca2bc847d640733bbaa71efb0d8e262 (patch)
tree4ff84c85bd2c15b912099c1a8f6a2250e55bb627 /python
parent7a636de5fabdf1f46fe9f7178114540b48e00b39 (diff)
downloadsamba-bdfdf93f0ca2bc847d640733bbaa71efb0d8e262.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> (cherry picked from commit 65e8edb382fbc7450919aad8b42cfcae9e779d11)
Diffstat (limited to 'python')
-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,