path: root/kolabd
diff options
authorJeroen van Meeuwen (Kolab Systems) <>2015-03-18 14:05:41 +0100
committerJeroen van Meeuwen (Kolab Systems) <>2015-03-18 14:05:41 +0100
commit9389961a04bc77a9ec9b82a3359e7fc7bba06016 (patch)
tree41d1128d68356e34f1beb156f89533fe9e4d9c7e /kolabd
parenta4b80d320b42bec56a9b5154e1e005952b2affd2 (diff)
Use the new domain naming context comparison function to reduce the number of processes against hosted (#4260)
Domain name spaces are translated back to the domain that owns the naming context, and skipped a separate process for should the naming context already be synchronized by another process.
Diffstat (limited to 'kolabd')
1 files changed, 3 insertions, 1 deletions
diff --git a/kolabd/ b/kolabd/
index 92a929c..6a0fd32 100644
--- a/kolabd/
+++ b/kolabd/
@@ -248,7 +248,9 @@ class KolabDaemon(object):
# domains now is a list of tuples, we want the primary_domains
primary_domains = []
for primary_domain in list(set(domains.values())):
- primary_domains.append(primary_domain)
+ primary_domain = primary_auth.domain_naming_context(primary_domain)
+ if not primary_domain == None:
+ primary_domains.append(primary_domain)
# Now we can check if any changes happened.
added_domains = []