diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2018-10-11 13:06:16 +1300 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-11-01 05:08:15 +0100 |
commit | eeb1e81e25ff8477fe00b36ba8c90a81e6241df9 (patch) | |
tree | b325e0252e448cfa94df512d93d2006e48f3cf87 /python/samba | |
parent | d1777971010621e750d352d219a344fef4a11c33 (diff) | |
download | samba-eeb1e81e25ff8477fe00b36ba8c90a81e6241df9.tar.gz |
python/join: remove unused imports and variables
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba')
-rw-r--r-- | python/samba/join.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/python/samba/join.py b/python/samba/join.py index d5eb7e96a35..c2d92547d58 100644 --- a/python/samba/join.py +++ b/python/samba/join.py @@ -24,7 +24,6 @@ from samba.samdb import SamDB from samba import gensec, Ldb, drs_utils, arcfour_encrypt, string_to_byte_array import ldb import samba -import sys import uuid from samba.ndr import ndr_pack, ndr_unpack from samba.dcerpc import security, drsuapi, misc, nbt, lsa, drsblobs, dnsserver, dnsp @@ -41,10 +40,9 @@ from samba import read_and_sub_file from samba import werror from base64 import b64encode from samba import WERRORError, NTSTATUSError -from samba.dnsserver import ARecord, AAAARecord, PTRRecord, CNameRecord, NSRecord, MXRecord, SOARecord, SRVRecord, TXTRecord from samba import sd_utils +from samba.dnsserver import ARecord, AAAARecord, CNameRecord import logging -import talloc import random import time import re @@ -1083,7 +1081,6 @@ class DCJoinContext(object): """ client_version = dnsserver.DNS_CLIENT_VERSION_LONGHORN - record_type = dnsp.DNS_TYPE_A select_flags = dnsserver.DNS_RPC_VIEW_AUTHORITY_DATA |\ dnsserver.DNS_RPC_VIEW_NO_CHILDREN |