samba_kcc: simplify NCReplica constructor
[metze/samba/wip.git] / python / samba / kcc / __init__.py
index 3c31ef6b4b5a4a4def7ad3a88b15c041c0a18b0a..273a68fa09f427894038d4c9c044874dc6e5889d 100644 (file)
@@ -2021,8 +2021,7 @@ class KCC(object):
 
         # Create a NCReplica that matches what the local replica
         # should say.  We'll use this below in our r_list
-        l_of_x = NCReplica(dc_local.dsa_dnstr, dc_local.dsa_guid,
-                           nc_x.nc_dnstr)
+        l_of_x = NCReplica(dc_local, nc_x.nc_dnstr)
 
         l_of_x.identify_by_basedn(self.samdb)