[Kolab-devel] Unkown attribute "kolabDelegate" when setting up 389-ds

Daniel Morlock daniel.morlock at gmail.com
Thu Apr 30 00:57:34 CEST 2015


Hi,

I'm getting stuck when I run "setup-kolab" on a new system with a fresh 
Kolab 3.2 installation:

Traceback (most recent call last):
   File "/usr/sbin/setup-kolab", line 42, in <module>
     setup.run()
   File "/usr/lib64/python2.7/site-packages/pykolab/setup/__init__.py", 
line 43, in run
     components.execute('_'.join(to_execute))
   File "/usr/lib64/python2.7/site-packages/pykolab/setup/components.py", 
line 170, in execute
     execute(component)
   File "/usr/lib64/python2.7/site-packages/pykolab/setup/components.py", 
line 202, in execute
     components[component_name]['function'](conf.cli_args, kw)
   File "/usr/lib64/python2.7/site-packages/pykolab/setup/setup_ldap.py", 
line 677, in execute
     auth._auth.ldap.modify_s(dn, modlist)
   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 
357, in modify_s
     return self.result(msgid,all=1,timeout=self.timeout)
   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 
458, in result
     resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 
462, in result2
     resp_type, resp_data, resp_msgid, resp_ctrls = 
self.result3(msgid,all,timeout)
   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 
469, in result3
     resp_ctrl_classes=resp_ctrl_classes
   File "/usr/lib64/python2.7/site-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/lib64/python2.7/site-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'}

When I check the installed kolab-schema, "kolabDelegate" does exist:

$ grep kolabDelegate /etc/dirsrv -inR
slapd-localhost/schema/99kolab3.ldif:71:  NAME 'kolabDelegate'
slapd-localhost/schema/99kolab3.ldif:321:        kolabDelegate $
slapd-localhost/schema/99kolab3.ldif:338:        kolabDelegate $


Any ideas how to fix or further debug this?

Thanks,
Daniel.


More information about the devel mailing list