[Kolab-devel] Installation on Wheezy - setup-kolab fails

Tobias Brunner tobias at tobru.ch
Wed Oct 24 16:21:50 CEST 2012


Hi everyone,

I tried to install Kolab3 on a fresh installed Debian Wheezy. Running 
setup-kolab gives me the following error:

root at server:~# setup-kolab

Please supply a password for the LDAP administrator user 'admin', used 
to login
to the graphical console of 389 Directory server.

Administrator password [7-IbteR85cl_tIE]:
Confirm Administrator password:

Please supply a password for the LDAP Directory Manager user, which is 
the
administrator user you will be using to at least initially log in to 
the Web
Admin, and that Kolab uses to perform administrative tasks.

Directory Manager password [8GIPHqGrKdQDeGv]:
Confirm Directory Manager password:

Please choose the system user and group the service should use to run 
under.
These should be existing, unprivileged, local system POSIX accounts 
with no
shell.

User [dirsrv]:
Group [dirsrv]:

This setup procedure plans to set up Kolab Groupware for the following 
domain
name space. This domain name is obtained from the reverse DNS entry on 
your
network interface. Please confirm this is the appropriate domain name 
space.

domain.ch [Y/n]:

The standard root dn we composed for you follows. Please confirm this 
is the root
dn you wish to use.

dc=domain,dc=ch [Y/n]:

Setup is now going to set up the 389 Directory Server. This may take a 
little
while (during which period there is no output and no progress 
indication).


Please supply a Cyrus Administrator password. This password is used by 
Kolab to
execute administrative tasks in Cyrus IMAP. You may also need the 
password
yourself to troubleshoot Cyrus IMAP and/or perform other administrative 
tasks
against Cyrus IMAP directly.

Cyrus Administrator password [vECGTFfH-Q8hVIF]:

Please supply a Kolab Service account password. This account is used by 
various
services such as Postfix, and Roundcube, as anonymous binds to the LDAP 
server
will not be allowed.

Kolab Service password [02qjqUV2Fe6QpQP]:
Traceback (most recent call last):
   File "/usr/sbin/setup-kolab", line 42, in <module>
     setup.run()
   File "/usr/lib/python2.7/dist-packages/pykolab/setup/__init__.py", 
line 42, in run
     components.execute('_'.join(to_execute))
   File "/usr/lib/python2.7/dist-packages/pykolab/setup/components.py", 
line 170, in execute
     execute(component)
   File "/usr/lib/python2.7/dist-packages/pykolab/setup/components.py", 
line 202, in execute
     components[component_name]['function'](conf.cli_args, kw)
   File "/usr/lib/python2.7/dist-packages/pykolab/setup/setup_ldap.py", 
line 519, in execute
     auth._auth.ldap.modify_s(dn, modlist)
   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 357, 
in modify_s
     return self.result(msgid,all=1,timeout=self.timeout)
   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 458, 
in result
     resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", 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/ldapobject.py", line 469, 
in result3
     resp_ctrl_classes=resp_ctrl_classes
   File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", 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/ldapobject.py", line 99, 
in _ldap_call
     result = func(*args,**kwargs)
ldap.INVALID_SYNTAX: {'info': 'targetattr "kolabAllowSMTPRecipient" 
does not exist in schema. Please add attributeTypes 
"kolabAllowSMTPRecipient" to schema if necessary. ACL Syntax 
Error(-5):(targetattr = \\22homePhone || preferredDeliveryMethod || 
jpegPhoto || postalAddress || carLicense || userPassword || mobile || 
kolabAllowSMTPRecipient || displayName || kolabDelegate || description 
|| labeledURI || homePostalAddress || postOfficeBox || registeredAddress 
|| postalCode || photo || title || street || kolabInvitationPolicy || 
pager || o || l || initials || kolabAllowSMTPSender || telephoneNumber 
|| preferredLanguage || facsimileTelephoneNumber\\22) (version 3.0;acl 
\\22Enable self write for common attributes\\22;allow 
(read,compare,search,write)(userdn = \\22ldap:///self\\22);)\n', 'desc': 
'Invalid syntax'}

Any hints how I can help debug this?

Cheers,
Tobias





More information about the devel mailing list