summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-10-08 14:34:35 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-10-08 22:28:25 +0200
commitd7d5858b742f1502d8738111996f42c1da2bcee1 (patch)
tree26d46aaaa9f1805680ef4f3a6182706b01c2730e /source4
parent851d6625d5e08ac9659a6d23d105f9e0c47f9692 (diff)
downloadsamba-d7d5858b742f1502d8738111996f42c1da2bcee1.tar.gz
samba-d7d5858b742f1502d8738111996f42c1da2bcee1.tar.bz2
samba-d7d5858b742f1502d8738111996f42c1da2bcee1.zip
netcmd/domain: Remove unused imports.
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/netcmd/domain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/netcmd/domain.py b/source4/scripting/python/samba/netcmd/domain.py
index 0ab35a63aa..f1125b2ce4 100644
--- a/source4/scripting/python/samba/netcmd/domain.py
+++ b/source4/scripting/python/samba/netcmd/domain.py
@@ -30,7 +30,7 @@ import tempfile
import logging
from samba import Ldb
from samba.net import Net, LIBNET_JOIN_AUTOMATIC
-from samba.dcerpc.misc import SEC_CHAN_WKSTA
+import samba.ntacls
from samba.join import join_RODC, join_DC, join_subdomain
from samba.auth import system_session
from samba.samdb import SamDB
@@ -44,7 +44,6 @@ from samba.netcmd import (
from samba.samba3 import Samba3
from samba.samba3 import param as s3param
from samba.upgrade import upgrade_from_samba3
-from samba.provision import ProvisioningError
from samba.dsdb import (
DS_DOMAIN_FUNCTION_2000,
@@ -59,6 +58,7 @@ def get_testparm_var(testparm, smbconf, varname):
output = os.popen(cmd, 'r').readline()
return output.strip()
+
class cmd_domain_export_keytab(Command):
"""Dumps kerberos keys of the domain into a keytab"""