Bug 36830

Summary: TraceBack: local-users.py listener module
Product: UCS Reporter: Philipp Hahn <hahn>
Component: LDAPAssignee: UCS maintainers <ucs-maintainers>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P5    
Version: UCS 3.1   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=35261
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: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Philipp Hahn univentionstaff 2014-11-18 17:06:15 CET
After removing a computer (for re-join):

18.11.14 16:59:23.564  LISTENER    ( INFO    ) : notifier returned = id: 4561277        dn: cn=xartifact,cn=memberserver,cn=computers,$DOMAIN      cmd: d
...
Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/local-users.py", line 297, in handler
    ent = ldapent(new)
  File "/usr/lib/univention-directory-listener/system/local-users.py", line 198, in ldapent
    ent.append(attr['uid'][0])
KeyError: 'uid'
18.11.14 16:59:23.759  LISTENER    ( INFO    ) : handler: local-users (failed)
Comment 1 Philipp Hahn univentionstaff 2014-11-18 17:30:37 CET
Bug #35261 fixed the case of failed modules not being removed from the listener cache for UCS-3.2-2, which lessens this problem.
Comment 2 Philipp Hahn univentionstaff 2014-11-18 17:34:23 CET
local-users was removed from UCS-3.2: Bug 29835