Fail to rut setup-kolab on debian wheezy because shema error...
Patrick Gelin
patrick.gelin at free.fr
Sun May 24 20:24:17 CEST 2015
Hi,
I've got an error message (below) with setup-kolab on debian wheezy. It
looks like a bug with package install. I found a ticket on it but I
don't understand why my last package up to date doesn't integrate it. My
kolab package is 3.1.9.3 :
Thank you for your help !
Patrick
sudo setup-kolab
[...]
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.
Mot de passe pour le service Kolab [umGaKhmSSqCPDBA]:
Confirmer Mot de passe pour le service Kolab:
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 43, 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 670, 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 "kolabDelegate" does not exist
in schema. Please add attributeTypes "kolabDelegate" to schema if
necessary. ACL Syntax Error(-5):(targetattr = \\22carLicense ||
description || displayName || facsimileTelephoneNumber || homePhone ||
homePostalAddress || initials || jpegPhoto || l || labeledURI || mobile
|| o || pager || photo || postOfficeBox || postalAddress || postalCode
|| preferredDeliveryMethod || preferredLanguage || registeredAddress ||
roomNumber || secretary || seeAlso || st || street || telephoneNumber ||
telexNumber || title || userCertificate || userPassword ||
userSMIMECertificate || x500UniqueIdentifier || kolabDelegate ||
kolabInvitationPolicy || kolabAllowSMTPSender\\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'}
I found kolabDelegate schema into /etc/dirsrv...
gelinp at gelinux:~$ sudo grep kolabDelegate /etc/dirsrv -inR
/etc/dirsrv/slapd-gelinux/schema/99kolab3.ldif:71: NAME 'kolabDelegate'
/etc/dirsrv/slapd-gelinux/schema/99kolab3.ldif:328: kolabDelegate $
/etc/dirsrv/slapd-gelinux/schema/99kolab3.ldif:346: kolabDelegate $
More information about the users
mailing list