kcc: Add a TODO for msDS[-RO]-Replica-Locations
authorGarming Sam <garming@catalyst.net.nz>
Fri, 22 Jul 2016 04:33:12 +0000 (16:33 +1200)
committerGarming Sam <garming@samba.org>
Mon, 25 Jul 2016 23:22:16 +0000 (01:22 +0200)
When you modify the replica locations to exclude a DSA, it should be respected.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/kcc/__init__.py

index 7b5b90dd9a50c1eb138beb363ec48b2ba768fa3a..5918bf29599234b7e2aa0cfb711c90f2c78af8bb 100644 (file)
@@ -922,6 +922,7 @@ class KCC(object):
                  len(needed_rep_table), len(delete_reps)))
 
         if delete_reps:
+            # TODO Must delete repsFrom/repsTo for these replicas
             DEBUG('deleting these reps: %s' % delete_reps)
             for dnstr in delete_reps:
                 del current_rep_table[dnstr]