mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
KCC: docstring for test_all_reps_from()
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>
This commit is contained in:
parent
99f07fa695
commit
6c86ddc3ff
@ -53,6 +53,19 @@ from samba.kcc import KCC
|
||||
|
||||
|
||||
def test_all_reps_from(lp, creds, unix_now, rng_seed=None):
|
||||
"""Run the KCC from all DSAs in read-only mode
|
||||
|
||||
The behaviour depends on the global opts variable which contains
|
||||
command line variables. Usually you will want to run it with
|
||||
opt.dot_file_dir set (via --dot-file-dir) to see the graphs that
|
||||
would be created from each DC.
|
||||
|
||||
:param lp: a loadparm object.
|
||||
:param creds: a Credentials object.
|
||||
:param unix_now: the unix epoch time as an integer
|
||||
:param rng_seed: a seed for the random number generator
|
||||
:return None:
|
||||
"""
|
||||
# This implies readonly and attempt_live_connections
|
||||
kcc = KCC(unix_now, readonly=True,
|
||||
verify=opts.verify, debug=opts.debug,
|
||||
|
Loading…
Reference in New Issue
Block a user