summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2018-03-27 15:24:44 +1300
committerDouglas Bagnall <dbagnall@samba.org>2018-05-03 05:25:27 +0200
commita82ca08f37658069aa547a98344b48aaf6b4a270 (patch)
treebb0842688609a6f873e68e6e28567ea84af9917c
parent795ec751ac5f6e58966385bec25063c4af4f185d (diff)
downloadsamba-a82ca08f37658069aa547a98344b48aaf6b4a270.tar.gz
samba_dnsupdate: Put samba.kcc import after path insert of bin/python
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index d6f77d4cabb..508bd5346bd 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -24,7 +24,6 @@ import fcntl
import sys
import tempfile
import subprocess
-from samba.kcc import kcc_utils
# ensure we get messages out immediately, so they get in the samba logs,
# and don't get swallowed by a timeout
@@ -49,6 +48,7 @@ from samba.samdb import SamDB
from samba.dcerpc import netlogon, winbind
from samba.netcmd.dns import cmd_dns
from samba import gensec
+from samba.kcc import kcc_utils
import ldb
samba.ensure_third_party_module("dns", "dnspython")