/etc/kolab/kolab.conf: tls: for ldap_uri

Jochen Hein jochen at jochen.org
Tue May 26 23:02:43 CEST 2015


I'm trying to use as much TLS as possible for kolab communication.
According to
http://lists.kolab.org/pipermail/users/2013-June/015142.html something
like the following should work:

,----
| [ldap]
| ; The URI to LDAP
| ldap_uri = tls://kolab3.jochen.org:389
`----

After restarting saslauthd (with "systemctl restart
kolab-saslauthd.service") I get the following errors when logging in
roundcube (I didn't try webadmin yet):

May 26 22:45:09 jupiter kolab-server[22592]: Traceback (most recent call last):
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/kolabd/process.py", line 53, in synchronize
May 26 22:45:09 jupiter kolab-server[22592]: auth.connect(domain)
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/pykolab/auth/__init__.py", line 102, in connect
May 26 22:45:09 jupiter kolab-server[22592]: self.list_domains(domain)
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/pykolab/auth/__init__.py", line 241, in list_domains
May 26 22:45:09 jupiter kolab-server[22592]: self.connect()
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/pykolab/auth/__init__.py", line 160, in connect
May 26 22:45:09 jupiter kolab-server[22592]: self._auth.connect()
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line 295, in connect
May 26 22:45:09 jupiter kolab-server[22592]: retry_delay=3.0
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 732, in __init__
May 26 22:45:09 jupiter kolab-server[22592]: SimpleLDAPObject.__init__(self,uri,trace_level,trace_file,trace_stack_limit)
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 70, in __init__
May 26 22:45:09 jupiter kolab-server[22592]: self._l = ldap.functions._ldap_function_call(ldap._ldap_module_lock,_ldap.initialize,uri)
May 26 22:45:09 jupiter kolab-server[22592]: File "/usr/lib/python2.7/dist-packages/ldap/functions.py", line 63, in _ldap_function_call
May 26 22:45:09 jupiter kolab-server[22592]: result = func(*args,**kwargs)
May 26 22:45:09 jupiter kolab-server[22592]: LDAPError: (0, 'Error')

The thread points to commit
http://git.kolab.org/kolab-wap/commit/?id=007150d02911a668b628f05c43dc4a1ca41f4204
but I can't find that in current git.kolab.org.
Any idea where I might need to look?

Jochen

-- 
The only problem with troubleshooting is that the trouble shoots back.



More information about the users mailing list