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-09-27 15:19:38 +0200
commite93bc3a16051519b309803df2eacfdfdd5002944 (patch)
treea0e7a1b2b3ebd3c1d8a28f8dfb15d2ab241458c9
parentfa8562b516a4da70404c6f45ed865335e2bf6d4c (diff)
downloadpykolab-e93bc3a16051519b309803df2eacfdfdd5002944.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.