1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4
Douglas Bagnall c6294c3c7b samba-tool visualize for understanding AD DC behaviour
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.

Normally samba-tool talks to one database; with the '-r' (a.k.a.
'--talk-to-remote') option attempts are made to contact all the DCs
known to the first database. This is necessary to get sensible results
from `samba-tool visualize reps` because the repsFrom/To objects are
not replicated, and it can reveal replication issues in other modes.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-01-13 17:37:07 +01:00
..
auth s4:auth_winbind: remove unused 'winbind_wbclient' backend 2017-12-13 20:34:24 +01:00
build/pasn1
cldap_server source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
client s4: cifsdd: Allocate the event context off NULL, not talloc_autofree_context(). 2017-05-13 16:50:13 +02:00
cluster Remove callers of lp_use_ntdb 2015-03-17 11:30:51 +01:00
dns_server s4:dns_server: avoid debug noise on successful updates 2018-01-10 01:01:24 +01:00
dsdb s4:dsdb: add dsdb_trust_search_tdo_by_sid() helper function 2018-01-13 12:55:07 +01:00
echo_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
heimdal HEIMDAL:kdc: fix dh->q allocation check in get_dh_param() 2017-12-06 19:06:21 +01:00
heimdal_build s4:heimdal_build: there's no need to define HAVE_KRB5_ADDRESSES twice 2017-10-11 12:33:42 +02:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc s4:kdc: only map SDB_ERR_NOT_FOUND_HERE to HDB_ERR_NOT_FOUND_HERE 2017-12-06 23:16:54 +01:00
ldap_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
lib s4:lib/tls: fix the developer build without gnutls support 2018-01-10 01:01:24 +01:00
libcli s4:torture: add smb2.session.expire2 test 2017-12-21 19:12:08 +01:00
libnet libnet: Add NULL checks to py_net_finddc 2018-01-09 18:25:07 +01:00
librpc librpc-build: ignore unused functions in generated code 2017-11-22 10:20:20 +01:00
nbt_server source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
ntp_signd source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
ntvfs python: Port ntvfs posix bindings to Python 3 compatible form 2017-11-08 17:57:21 +01:00
param s4:pyparam: Fix resource leaks on error 2017-10-27 20:33:25 +02:00
rpc_server s2-rpc-server: fix enum type in assignment 2017-11-22 10:20:21 +01:00
script find_unused_macros: Remove obsolete script that finds unused macros. 2014-08-31 21:21:13 +02:00
scripting gpo: Test that unapply works 2017-12-15 21:43:19 +01:00
selftest samba-tool visualize for understanding AD DC behaviour 2018-01-13 17:37:07 +01:00
setup WindowsServerDocs: Update README for clarity 2017-12-20 23:13:11 +01:00
smb_server s4:smb_server: remove deprecated 'use spnego = no" handling 2018-01-10 01:01:24 +01:00
smbd samba: Only use async signal-safe functions in signal handler 2018-01-06 00:07:17 +01:00
torture s4:torture/samba_tool_drs: demote the test dc at the end of test_samba_tool_replicate_local() 2018-01-13 17:37:06 +01:00
utils man pages: change http://samba.org to https://www.samba.org 2016-12-09 13:10:26 +01:00
web_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
winbind source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
wrepl_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
.clang_complete
.valgrind_suppressions
wscript_build