py:dcerpc/raw_protocol: enable tests with the DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN bit
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Nov 2018 08:38:46 +0000 (09:38 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 12 Jan 2019 02:13:40 +0000 (03:13 +0100)
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 <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/tests/dcerpc/raw_protocol.py

index f29255737a853f6db6497c95449da14d497ee3be..764400e98a902654cea8015394639dc08aec0224 100755 (executable)
@@ -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 |