python/join: use DRSUAPI_DRS_GET_NC_SIZE for the initial replication
authorStefan Metzmacher <metze@samba.org>
Tue, 29 Nov 2016 13:29:59 +0000 (14:29 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 8 Feb 2017 22:20:18 +0000 (23:20 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12398

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/join.py

index d4a040f276efefacc463c36d013adf0d17965096..4eb8c58ec4a42cfe8d1f1c74013ab2192fdb9d5f 100644 (file)
@@ -168,6 +168,7 @@ class dc_join(object):
         ctx.replica_flags = (drsuapi.DRSUAPI_DRS_INIT_SYNC |
                              drsuapi.DRSUAPI_DRS_PER_SYNC |
                              drsuapi.DRSUAPI_DRS_GET_ANC |
+                             drsuapi.DRSUAPI_DRS_GET_NC_SIZE |
                              drsuapi.DRSUAPI_DRS_NEVER_SYNCED)
 
         # these elements are optional