From a9b71efb87088771f62b219b8fab3ff79559b0fd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 16 Jan 2018 16:23:39 +1300 Subject: [PATCH] WHATSNEW: Add section for "samba-tool visualize" (text from the commit message by Douglas adding the feature) BUG: https://bugzilla.samba.org/show_bug.cgi?id=13226 Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam (cherry picked from commit 83d42203d7d7f7171d44724720fa5cd99590b90b) --- WHATSNEW.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/WHATSNEW.txt b/WHATSNEW.txt index f5e19746ef0..3a923b1a44d 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -88,6 +88,29 @@ The key file "encrypted_secrets.key" is created in the same directory as the database and should NEVER be disclosed. It is included by the samba_backup script. +Active Directory replication visualisation +------------------------------------------ + +To work out what is happening in a replication graph, it is sometimes +helpful to use visualisations. We introduce a samba-tool subcommand to +write Graphviz dot output and generate text-based heatmaps of the +distance in hops between DCs. + +There are two subcommands, two graphical modes, and (roughly) two modes of +operation with respect to the location of authority. + +`samba-tool visualize ntdsconn` looks at NTDS Connections. +`samba-tool visualize reps` looks at repsTo and repsFrom objects. + +In '--distance' mode (default), the distances between DCs are shown in +a matrix in the terminal. With '--color=yes', this is depicted as a +heatmap. With '--utf8' it is a lttle prettier. + +In '--dot' mode, Graphviz dot output is generated. When viewed using +dot or xdot, this shows the network as a graph with DCs as vertices +and connections edges. Certain types of degenerate edges are shown in +different colours or line-styles. + NT4-style replication based net commands removed ------------------------------------------------ -- 2.11.4.GIT