summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@toke.dk>2013-10-16 11:48:40 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-10-16 11:48:40 +0200
commitc4a7765129a45f0c1e3ba32e53990270c129efe6 (patch)
treeef9817015766b79fbc2fb3d21f94ecd9861a6d2f /pykolab
parent9d1c8edc7060d161eb3f1fd1e87a33dd2568e78f (diff)
downloadpykolab-c4a7765129a45f0c1e3ba32e53990270c129efe6.tar.gz
Connect to the correct domain DIT tree when synchronizing (#2354)
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/cli/cmd_sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pykolab/cli/cmd_sync.py b/pykolab/cli/cmd_sync.py
index 184b748..8ef9407 100644
--- a/pykolab/cli/cmd_sync.py
+++ b/pykolab/cli/cmd_sync.py
@@ -49,6 +49,7 @@ def execute(*args, **kw):
for primary_domain in list(set(domains.values())):
log.debug(_("Running for domain %s") % (primary_domain), level=8)
+ auth = Auth(primary_domain)
auth.connect(primary_domain)
start_time = time.time()
auth.synchronize(mode='_paged_search')