mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
python:tests: Mark libsmb connection as an IPC connection
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
8c06dc1365
commit
1a74c790bf
@ -42,7 +42,7 @@ class smb_pipe_socket(object):
|
|||||||
lp3 = s3param.get_context()
|
lp3 = s3param.get_context()
|
||||||
lp3.load(lp.configfile)
|
lp3.load(lp.configfile)
|
||||||
self.smbconn = libsmb.Conn(target_hostname, 'IPC$', lp3,
|
self.smbconn = libsmb.Conn(target_hostname, 'IPC$', lp3,
|
||||||
creds=creds, sign=True)
|
creds=creds, ipc=True, sign=True)
|
||||||
self.smbfid = self.smbconn.create(pipename,
|
self.smbfid = self.smbconn.create(pipename,
|
||||||
DesiredAccess=0x12019f,
|
DesiredAccess=0x12019f,
|
||||||
ShareAccess=0x7,
|
ShareAccess=0x7,
|
||||||
|
Loading…
Reference in New Issue
Block a user