summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-07-08 13:16:55 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-07-08 13:16:55 +0200
commit8e7ae3827770acf071eaea187f017d099d210e95 (patch)
tree27f8ddd13df3fff812b0144b158ee6e494166dda
parentd19d97ffa128b1f1ebdb9f11a0e7446060ca5f54 (diff)
downloadpykolab-8e7ae3827770acf071eaea187f017d099d210e95.tar.gz
Call the correct functions
-rw-r--r--kolabd/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 9629836..a5869d5 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -285,7 +285,7 @@ class KolabDaemon(object):
for primary in primaries:
naming_context = primary_auth.domain_naming_context(primary)
- domain_root_dn = primary_auth.domain_root_dn(primary)
+ domain_root_dn = primary_auth._auth._kolab_domain_root_dn(primary)
log.debug(
_("Domain %r naming context: %r, root dn: %r") % (
primary,
@@ -307,7 +307,6 @@ class KolabDaemon(object):
# Find however many naming contexts we have, and what the
# corresponding domain name is for them.
- naming_contexts = list(set(naming_contexts.values()))
primary_domains = [x for x,y in naming_contexts.iteritems() if domain_root_dns[x] == y]
# Now we can check if any changes happened.