From: Stefan Metzmacher Date: Wed, 21 Nov 2018 08:38:46 +0000 (+0100) Subject: py:dcerpc/raw_protocol: enable tests with the DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN bit X-Git-Tag: talloc-2.1.15~53 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=aa3f1f86c0ce5c46be85168de6c6c188b4193b19;p=samba.git py:dcerpc/raw_protocol: enable tests with the DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN bit BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113 BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/python/samba/tests/dcerpc/raw_protocol.py b/python/samba/tests/dcerpc/raw_protocol.py index f29255737a8..764400e98a9 100755 --- a/python/samba/tests/dcerpc/raw_protocol.py +++ b/python/samba/tests/dcerpc/raw_protocol.py @@ -186,9 +186,7 @@ class TestDCERPC_BIND(RawDCERPCTest): dcerpc.DCERPC_PFC_FLAG_FIRST | dcerpc.DCERPC_PFC_FLAG_LAST) - # TODO: doesn't announce DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN - # without authentication - def _test_no_auth_request_bind_pfc_HDR_SIGNING(self): + def test_no_auth_request_bind_pfc_HDR_SIGNING(self): return self._test_no_auth_request_bind_pfc_flags( req_pfc_flags=0 | dcerpc.DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN | @@ -285,9 +283,7 @@ class TestDCERPC_BIND(RawDCERPCTest): dcerpc.DCERPC_PFC_FLAG_FIRST | dcerpc.DCERPC_PFC_FLAG_LAST) - # TODO: doesn't announce DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN - # without authentication - def _test_no_auth_request_alter_pfc_HDR_SIGNING(self): + def test_no_auth_request_alter_pfc_HDR_SIGNING(self): return self._test_no_auth_request_alter_pfc_flags( req_pfc_flags=0 | dcerpc.DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN | @@ -342,9 +338,7 @@ class TestDCERPC_BIND(RawDCERPCTest): dcerpc.DCERPC_PFC_FLAG_FIRST | dcerpc.DCERPC_PFC_FLAG_LAST) - # TODO: doesn't announce DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN - # without authentication - def _test_no_auth_request_alter_pfc_ff(self): + def test_no_auth_request_alter_pfc_ff(self): return self._test_no_auth_request_alter_pfc_flags( req_pfc_flags=0 | 0xff |