[Kolab-devel] Kolab 3.1 alpha setup issues

Erik Carlseen erik.carlseen at praecelsus.com
Mon Sep 23 02:25:43 CEST 2013


1) During the install process I had an issue with my split DNS that broke the 389 server configuration, but it led me to a bug in the install script that writes the stderr data to the stdout file.

        print >> sys.stderr, utils.multiline_message(
                _("""
                        An error was detected in the setup procedure for 389
                        stdout to /var/log/kolab/setup.error.log and
                        /var/log/kolab/setup.out.log respectively, before it
                        exits.
                    """)
            )

        fp = open('/var/log/kolab/setup.error.log', 'w')
        fp.write(stderrdata)
        fp.close()

        fp = open('/var/log/kolab/setup.out.log', 'w')
        fp.write(stderrdata)                        <----- FIX ME
        fp.close()

-------------------------------------------------------------------------------------


2) The domain enumerator in /usr/lib/python2.6/site-packages/kolabd/__init__.py is broken:

*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x225b200> ldap://localhost:389 - ReconnectLDAPObject.result4
((3, False, 0, 0, 0, 0), {})
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x225b200> ldap://localhost:389 - ReconnectLDAPObject.result4
((3, False, 0, 0, 0, 0), {})
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/kolabd/__init__.py", line 185, in run
    self.do_sync()
  File "/usr/lib/python2.6/site-packages/kolabd/__init__.py", line 235, in do_sync
    for primary_domain, secondary_domains in domains:
ValueError: too many values to unpack
Traceback occurred, please report a bug at http://bugzilla.kolabsys.com


Fix (at line 235):
            primary_domains = []
            for primary_domain in domains.keys():
                primary_domains.append(primary_domain)

------------------------------------------------------------------------------------

3) In Postfix's my.conf file, the "permit_sasl_authenticated" option was not included in the "smtpd_recipient_restrictions" option.




Regards,

Erik Carlseen 


More information about the devel mailing list