summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-06-09 16:53:02 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-06-09 16:53:52 +0200
commit2001a824925d14866459c71c7149bd02748080d3 (patch)
treeef236bb9f63f6cc67ec267ff00a6b52ffc723690
parent2c1433ac7646e44f1bf8bbcb5a25b916ae6f19ce (diff)
downloadpykolab-2001a824925d14866459c71c7149bd02748080d3.tar.gz
Use the correct credentials to bind with
-rw-r--r--pykolab/setup/setup_ldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index 6a5664e..77ab097 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -496,7 +496,7 @@ ServerAdminPwd = %(admin_pass)s
auth = Auth(_input['domain'])
auth.connect()
auth._auth.connect()
- auth._auth._bind()
+ auth._auth._bind(bind_dn='cn=Directory Manager', bind_pw=_input['dirmgr_pass'])
dn = 'uid=%s,ou=Special Users,%s' % (conf.get('cyrus-imap', 'admin_login'), _input['rootdn'])