diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-06-10 16:42:37 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-06-12 06:57:13 +0200 |
commit | b0e6a7436233c39f1ebf1a40e4c6cc495ed926f9 (patch) | |
tree | 2505791972c1b64cc9483164452bd6d86c81ad85 /source4 | |
parent | 8d6f256f381abf1d932bfecb6542590eae9a5f32 (diff) | |
download | samba-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-x | source4/scripting/bin/samba_kcc | 9 |
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. |