KCC: note about the meaning of None in schedule types
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 8 May 2015 04:38:42 +0000 (16:38 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 12 Jun 2015 04:57:17 +0000 (06:57 +0200)
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>
python/samba/kcc/graph.py

index a8349142e14ad53af5ad903ff1b4cbe5d0228bc9..41f94b4606494bd13ba1d1558813501586b81fdf 100644 (file)
@@ -99,6 +99,8 @@ def convert_schedule_to_repltimes(schedule):
     DC. That default would cause replication within the last 15
     minutes of each hour.
     """
+    # note, NTDSConnection schedule == None means "once an hour"
+    # repl_info == None means "always"
     if schedule is None or schedule.dataArray[0] is None:
         return [0x11] * 84