From 257219c836d7edccff530eaf27c50180dc40bba1 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Wed, 6 May 2015 18:03:05 +1200 Subject: [PATCH] KCC improve docstring for KCC.create_intersite_connections() Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- python/samba/kcc/__init__.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python/samba/kcc/__init__.py b/python/samba/kcc/__init__.py index 5a0283a3fe0..9ab80b2f726 100644 --- a/python/samba/kcc/__init__.py +++ b/python/samba/kcc/__init__.py @@ -1815,7 +1815,9 @@ class KCC(object): return all_connected, found_failed def create_intersite_connections(self): - """Computes an NC replica graph for each NC replica that "should be + """Create NTDSConnections as necessary for all partitions. + + Computes an NC replica graph for each NC replica that "should be present" on the local DC or "is present" on any DC in the same site as the local DC. For each edge directed to an NC replica on such a DC from an NC replica on a DC in another site, the KCC creates an @@ -1826,8 +1828,8 @@ class KCC(object): objects for edges that are directed to the local DC's site in one or more NC replica graphs. - returns: True if spanning trees were created for all NC replica - graphs, otherwise False. + :return: True if spanning trees were created for all NC replica + graphs, otherwise False. """ all_connected = True self.kept_connections = set() -- 2.11.4.GIT