]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:tests: Mark libsmb connection as an IPC connection
authorAndreas Schneider <asn@samba.org>
Fri, 24 Jul 2020 07:47:11 +0000 (09:47 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Aug 2020 16:22:42 +0000 (16:22 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/tests/dcerpc/raw_testcase.py

index 4a41d2a8f347e92469f96781edd19aba23b4691d..e101105fd5fc32a4a086a3b5ea465f9da2b6460c 100644 (file)
@@ -42,7 +42,7 @@ class smb_pipe_socket(object):
         lp3 = s3param.get_context()
         lp3.load(lp.configfile)
         self.smbconn = libsmb.Conn(target_hostname, 'IPC$', lp3,
-                                   creds=creds, sign=True)
+                                   creds=creds, ipc=True, sign=True)
         self.smbfid = self.smbconn.create(pipename,
                                           DesiredAccess=0x12019f,
                                           ShareAccess=0x7,