summaryrefslogtreecommitdiff
path: root/kolabd/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kolabd/__init__.py')
-rw-r--r--kolabd/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 92a929c..6a0fd32 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -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 = []