Bug 41688 - Creating settings/mswmifilter fails: 'id' not required
Summary: Creating settings/mswmifilter fails: 'id' not required
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: S4 Connector
Version: UCS 4.1
Hardware: Other Linux
: P5 minor
Target Milestone: ---
Assignee: Samba maintainers
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-28 15:28 CEST by Philipp Hahn
Modified: 2019-01-03 07:18 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.006
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Customer ID:
Max CVSS v3 score:
gohmann: Patch_Available+


Attachments
patch (1.48 KB, patch)
2016-06-28 15:44 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2016-06-28 15:28:48 CEST
+ /usr/share/pyshared//univention/admincli/admin.py settings/mswmifilter create --set name=x
Traceback (most recent call last):
  File "/usr/share/pyshared//univention/admincli/admin.py", line 1136, in <module>
    print '\n'.join(doit(sys.argv))
  File "/usr/share/pyshared//univention/admincli/admin.py", line 395, in doit
    out=_doit(arglist)
  File "/usr/share/pyshared//univention/admincli/admin.py", line 740, in _doit
    dn=object.create()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 296, in create
    return self._create()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 667, in _create
    self._ldap_pre_create()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/settings/mswmifilter.py", line 274, in _ldap_pre_create
    self.dn='cn=%s,%s' % (mapping.mapValue('id', self.info['id']), self.position.getDn())
KeyError: 'id'

 51 property_descriptions={
 52 »···'name': univention.admin.property(
 58 »···»···»···required=1,
 82 »···'id': univention.admin.property(
 88 »···»···»···required=0,
Comment 1 Florian Best univentionstaff 2016-06-28 15:44:39 CEST
Created attachment 7771 [details]
patch
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 07:18:02 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.