Bug 34525 - Traceback while setting a primary group without Samba option
Traceback while setting a primary group without Samba option
Status: RESOLVED DUPLICATE of bug 34473
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-10 12:21 CEST by Ingo Steuwer
Modified: 2014-04-10 13:15 CEST (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:
Flags outvoted (downgraded) after PO Review:
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 Ingo Steuwer univentionstaff 2014-04-10 12:21:10 CEST
seen on demo.univention.de:

- create a group with only POSIX option (no "Samba")
- open a user and assign this group as primary group

Traceback:

----------
UCS Version: 3.2-1 errata87 (Borgfeld)

  File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run

KeyError: 'sambaSID'

    primaryGroupSambaNumber = number['sambaSID']
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py", line 1676, in __primary_group
    self.__primary_group()
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py", line 1857, in _ldap_post_modify
    self._ldap_post_modify()
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 922, in _modify
    return self._modify(modify_childs,ignore_license=ignore_license)
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 345, in modify
    obj.modify()
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 410, in modify
    ret = func( *args, **kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 155, in wrapper_func
    module.modify( properties )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 377, in _thread
    return self._function( *tmp, **self._kwargs )
  File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__
    tmp = self._function()
  File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run
-----
Comment 1 Dirk Wiesenthal univentionstaff 2014-04-10 13:15:55 CEST

*** This bug has been marked as a duplicate of bug 34473 ***