summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2018-12-13 16:05:36 +1300
committerTim Beale <timbeale@samba.org>2019-01-14 03:30:20 +0100
commit15013ff9537cc1103afd1afd59c2da722e655b52 (patch)
treecc3bc6dab69337887b3d8668d28e170ec7cd94c2 /python
parentbae415453e13ee1c54d40459c8239b72dea9fa7b (diff)
downloadsamba-15013ff9537cc1103afd1afd59c2da722e655b52.tar.gz
tests: Change ntaclsbackup tests over to use s3 Py bindings
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676 Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/ntacls_backup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/tests/ntacls_backup.py b/python/samba/tests/ntacls_backup.py
index 0ee044f1336..03ee821e595 100644
--- a/python/samba/tests/ntacls_backup.py
+++ b/python/samba/tests/ntacls_backup.py
@@ -19,7 +19,7 @@
"""Tests for samba ntacls backup"""
import os
-from samba import smb
+from samba.samba3 import libsmb_samba_internal as libsmb
from samba.samba3 import smbd
from samba import samdb
from samba import ntacls
@@ -60,7 +60,7 @@ class NtaclsBackupRestoreTests(TestCaseInTempDir):
self.dom_sid)
self.lp = self.ntacls_helper.lp
- self.smb_conn = smb.SMB(
+ self.smb_conn = libsmb.Conn(
self.server, self.service, lp=self.lp, creds=self.creds)
self.smb_helper = ntacls.SMBHelper(self.smb_conn, self.dom_sid)