py:dcerpc/raw_protocol: demonstrate that \\pipe\lsarpc returns \\pipe\lsass as second...
authorStefan Metzmacher <metze@samba.org>
Thu, 13 Dec 2018 09:13:03 +0000 (10:13 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 12 Jan 2019 02:13:41 +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
selftest/knownfail.d/test_assoc_group_ok2 [new file with mode: 0644]

index f589507..a306b17 100755 (executable)
@@ -4988,7 +4988,8 @@ class TestDCERPC_BIND(RawDCERPCTest):
         abstract = samba.dcerpc.mgmt.abstract_syntax()
         transfer = base.transfer_syntax_ndr()
 
-        self.reconnect_smb_pipe(primary_address='\\pipe\\lsass',
+        self.reconnect_smb_pipe(primary_address='\\pipe\\lsarpc',
+                                secondary_address='\\pipe\\lsass',
                                 transport_creds=self.get_user_creds())
         (ctx1, ack1) = self.prepare_presentation(abstract, transfer,
                                                  context_id=1, return_ack=True)
@@ -5023,7 +5024,8 @@ class TestDCERPC_BIND(RawDCERPCTest):
                                                  context_id=1, return_ack=True)
 
         # assoc groups are per transport
-        connF = self.second_connection(primary_address="\\pipe\\lsass",
+        connF = self.second_connection(primary_address="\\pipe\\lsarpc",
+                                       secondary_address="\\pipe\\lsass",
                                        transport_creds=self.get_user_creds())
         tsfF_list = [transfer]
         ctxF = samba.dcerpc.dcerpc.ctx_list()
diff --git a/selftest/knownfail.d/test_assoc_group_ok2 b/selftest/knownfail.d/test_assoc_group_ok2
new file mode 100644 (file)
index 0000000..7d46cce
--- /dev/null
@@ -0,0 +1 @@
+^samba.tests.dcerpc.raw_protocol.*.TestDCERPC_BIND.test_assoc_group_ok2