summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-06-10 16:42:37 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-06-12 06:57:13 +0200
commitb0e6a7436233c39f1ebf1a40e4c6cc495ed926f9 (patch)
tree2505791972c1b64cc9483164452bd6d86c81ad85 /source4
parent8d6f256f381abf1d932bfecb6542590eae9a5f32 (diff)
downloadsamba-b0e6a7436233c39f1ebf1a40e4c6cc495ed926f9.tar.gz
KCC: split kcc_utils into samba.kcc.{kcc_utils,graph}
graph.py has the intersite graph stuff. kcc_utils does intrasite, namespace, &cetera. The wildcard imports are tidied up, so samba_kcc imports unix2nttime directly rather than letting it fall out of kcc_utils. Intersite graph functions samba/kcc/__init__.py are also shifted into graph.py. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/bin/samba_kcc9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc
index a7a1953c893..4abec6f3803 100755
--- a/source4/scripting/bin/samba_kcc
+++ b/source4/scripting/bin/samba_kcc
@@ -51,14 +51,15 @@ from samba import (
ldb,
dsdb,
drs_utils,
- nttime2unix)
+ nttime2unix,
+ unix2nttime)
from samba.auth import system_session
from samba.samdb import SamDB
from samba.dcerpc import drsuapi
-from samba.kcc_utils import *
-from samba.kcc.debug import *
from samba import ldif_utils
-
+from samba.kcc.kcc_utils import *
+from samba.kcc.graph import *
+from samba.kcc.debug import *
class KCC(object):
"""The Knowledge Consistency Checker class.