Bug 33121 - s4 connector: set connector/s4/mapping/group/grouptype=false during update to 3.2
s4 connector: set connector/s4/mapping/group/grouptype=false during update to...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UNSTABLE
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-05 12:12 CET by Felix Botner
Modified: 2013-11-19 06:43 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2013-11-05 12:12:35 CET
UCS 3.1-1 maste -> Update to 3.2-0 -> installation of samba4/connector-s4

now i get 

05.11.2013 11:54:50,31 LDAP        (PROCESS): sync from ucs: [         group] [       add] CN=Users,cn=builtin,dc=fff,dc=ggg
05.11.2013 11:54:50,37 LDAP        (ERROR  ): sync_from_ucs: traceback during modify object: CN=Users,cn=builtin,dc=fff,dc=ggg
05.11.2013 11:54:50,37 LDAP        (ERROR  ): sync_from_ucs: traceback due to modlist: [(1, 'groupType', None), (1, 'description', None)]
05.11.2013 11:54:50,50 LDAP        (WARNING): sync failed, saved as rejected
        /var/lib/univention-connector/s4/1383648762.785000
05.11.2013 11:54:50,53 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 753, in __sync_file_from_ucs
    or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old))):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 2435, in sync_from_ucs
    self.lo_s4.lo.modify_ext_s(compatible_modstring(object['dn']), compatible_modlist(modlist), serverctrls=self.serverctrls_for_add_and_modify)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 808, in modify_ext_s
    return self._apply_method_s(SimpleLDAPObject.modify_ext_s,*args,**kwargs)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 766, in _apply_method_s
    return func(self,*args,**kwargs)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 295, in modify_ext_s
    return self.result(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 422, in result
    res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 426, in result2
    res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432, in result3
    ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call
    result = func(*args,**kwargs)
UNWILLING_TO_PERFORM: {'info': "00002035: objectclass_attrs: delete protected attribute 'groupType' on entry 'CN=Users,CN=Builtin,DC=fff,DC=ggg' missing!", 'desc': 'Server is unwilling to perform'}

for every group, because the system groups were created with 3.1 and therefor missing the group type attribute

after setting connector/s4/mapping/group/grouptype=false and restarting the connector works fine
Comment 1 Stefan Gohmann univentionstaff 2013-11-05 12:34:16 CET
Added 'ucr set connector/s4/mapping/group/grouptype?false' to postup.sh.
Comment 2 Felix Botner univentionstaff 2013-11-05 14:20:13 CET
OK
Comment 3 Stefan Gohmann univentionstaff 2013-11-19 06:43:43 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".