Installing kolab, part 1

Other posts in the Installing Kolab series: - part 2 - part 3 - part 4 - part 5

Grr. I just spent some time setting up a new debian machine to serve as a new personal and self hosted server. So I started with trying out kolab.

I followed the instructions in the official doc and then run


Unfortunately, it didn’t work. When accessing the Kolab web admin interface, I had no way to add users. Then I figured out that I could not connect as root to mysql even though I had just set up a root account for mysql during the setup-kolab process. After trying out with the former mysql password, I discovered the database was there properly. But still, the Kolab web admin wouldn’t let me add users as if there was a problem and indeed the Roundcube panel was giving a nice


At this point I thought I could try running setup-kolab again to see what could get wrong. I can’t even get to the end of it, now I get…

Kolab Service password []: 
Traceback (most recent call last):
  File "/usr/sbin/setup-kolab", line 42, in <module>
  File "/usr/lib/python2.7/dist-packages/pykolab/setup/", line 43, in run
  File "/usr/lib/python2.7/dist-packages/pykolab/setup/", line 170, in execute
  File "/usr/lib/python2.7/dist-packages/pykolab/setup/", line 202, in execute
    components[component_name]['function'](conf.cli_args, kw)
  File "/usr/lib/python2.7/dist-packages/pykolab/setup/", line 405, in execute
    auth._auth.ldap.add_s(dn, ldif)
  File "/usr/lib/python2.7/dist-packages/ldap/", line 195, in add_s
    return self.result(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/", line 458, in result
    resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/", line 462, in result2
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/", line 469, in result3
  File "/usr/lib/python2.7/dist-packages/ldap/", line 476, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "/usr/lib/python2.7/dist-packages/ldap/", line 99, in _ldap_call
    result = func(*args,**kwargs)
ldap.INAPPROPRIATE_AUTH: {'info': 'Anonymous access is not allowed.', 'desc': 'Inappropriate authentication'}

Yes. Quite annoying.