Bug 39528 - AttributeError: 'object' object has no attribute 'gidNum'
AttributeError: 'object' object has no attribute 'gidNum'
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Groups
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-14 12:21 CEST by Florian Best
Modified: 2019-01-03 07:21 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:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-10-14 12:21:58 CEST
Remark:
Changed group: Set "Windows Relative ID" to "" (empty).

Version:
4.0-3 errata336 (Walle)

Execution of command 'udm/put groups/group' has failed:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 207, in _decorated
    return function(self, request, *args, **kwargs)
  File "%PY2.7%/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 424, in _thread
    module.modify(properties)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 163, in _decorated
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 146, in wrapper_func
    return _func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 139, in _func
    ret = func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 554, in modify
    obj.modify()
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 364, in modify
    return self._modify(modify_childs,ignore_license=ignore_license)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 839, in _modify
    ml=self._ldap_modlist()
  File "%PY2.7%/univention/admin/handlers/groups/group.py", line 627, in _ldap_modlist
    self.groupSid = self.__generate_group_sid(self.oldattr['gidNumber'][0])
  File "%PY2.7%/univention/admin/handlers/groups/group.py", line 1046, in __generate_group_sid
    num = self.gidNum
AttributeError: 'object' object has no attribute 'gidNum'
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:21:35 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.