Bug 45088 - UCS@school: traceback when deleting a GPO
UCS@school: traceback when deleting a GPO
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.2-2-errata
Assigned To: Arvid Requate
Florian Best
:
Depends on: 41571 43628
Blocks: 45087
  Show dependency treegraph
 
Reported: 2017-07-27 19:45 CEST by Arvid Requate
Modified: 2017-09-20 15:04 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.257
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017021721000386
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 Arvid Requate univentionstaff 2017-07-27 19:45:24 CEST
52_s4connector/139sync_repeated_ntsd_modifications (Bug #45087) showed a traceback when deleting a GPO. The bug was introduced by Bug 43628:


==============================================================================
27.07.2017 18:54:45,240 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
27.07.2017 18:54:45,265 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1558, in sync_to_ucs
    result = self.delete_in_ucs(property_type, object, module, position)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1463, in delete_in_ucs
    return self.delete_in_ucs(property_type, object, module, position)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1435, in delete_in_ucs
    self._forget_entryCSN(entryUUID)
TypeError: _forget_entryCSN() takes exactly 3 arguments (2 given)
==============================================================================


+++ This bug was initially created as a clone of Bug #43628 +++
Comment 1 Arvid Requate univentionstaff 2017-07-27 19:50:12 CEST
r81518: Fix traceback when deleting a GPO

Advisory: univention-s4-connector.yaml
Comment 2 Florian Best univentionstaff 2017-08-08 17:07:23 CEST
OK: No traceback in the log anymore. Reproducer:
samba-tool gpo create bar -k no -H ldap://"$hostname.$domainname" -U Administrator%univention
samba-tool gpo del "{37A4708E-3498-43C9-8CE8-373F689C9107}" -k no -H ldap://"$hostname.$domainname" -U Administrator%univention

OK: YAML (adjusted in r81903)
Comment 3 Erik Damrose univentionstaff 2017-09-20 15:04:04 CEST
<http://errata.software-univention.de/ucs/4.2/167.html>