]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool computer: remove unused imports
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sun, 17 Aug 2025 08:39:38 +0000 (20:39 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 20 Aug 2025 04:34:37 +0000 (04:34 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
python/samba/netcmd/computer.py

index 1413803cf8a73b8f835390a7b6966f2c51ae8c7c..bb0b6ec0335f3148954cd4391a376285b88178c3 100644 (file)
 import samba.getopt as options
 import ldb
 import socket
-import samba
 import re
 import os
 import tempfile
 from samba import sd_utils
 from samba.dcerpc import dnsserver, dnsp, security
 from samba.dnsserver import ARecord, AAAARecord
-from samba.ndr import ndr_unpack, ndr_pack, ndr_print
+from samba.ndr import ndr_unpack
 from samba.remove_dc import remove_dns_references
 from samba.auth import system_session
 from samba.samdb import SamDB
@@ -39,9 +38,7 @@ from subprocess import check_call, CalledProcessError
 from . import common
 
 from samba import (
-    credentials,
     dsdb,
-    Ldb,
     werror,
     WERRORError
 )