mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Use the local connection when getting a replication ID for winsync.
We can't connect to the windows AD server to get a unique repliation ID. So first see if this master already has one and if not, get an id from the local DS. 469977
This commit is contained in:
parent
4ed44a06a1
commit
c7c2cf0956
@ -388,7 +388,11 @@ class ReplicationManager:
|
||||
|
||||
self.suffix = ipaldap.IPAdmin.normalizeDN(dsinstance.realm_to_suffix(realm_name))
|
||||
|
||||
local_id = self._get_replica_id(self.conn, other_conn)
|
||||
if not iswinsync:
|
||||
local_id = self._get_replica_id(self.conn, other_conn)
|
||||
else:
|
||||
# there is no other side to get a replica ID from
|
||||
local_id = self._get_replica_id(self.conn, self.conn)
|
||||
self.basic_replication_setup(self.conn, local_id)
|
||||
|
||||
if not iswinsync:
|
||||
|
Loading…
Reference in New Issue
Block a user