Bug 41508 - Traceback in UCR script samba.local.config / share_restrictions
Traceback in UCR script samba.local.config / share_restrictions
Status: RESOLVED DUPLICATE of bug 34215
Product: UCS
Classification: Unclassified
Component: Samba
UCS 4.2
Other Linux
: P3 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-09 13:48 CEST by Arvid Requate
Modified: 2017-02-17 16:55 CET (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
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 Arvid Requate univentionstaff 2016-06-09 13:48:25 CEST
Issue #5416

root@master:~# ucr set samba/share/homes/options/'hide files'='/windows-profiles/Desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/'

Script: /etc/univention/templates/scripts/samba.local.config.py
Traceback (most recent call last):
  File "/etc/univention/templates/scripts/samba.local.config.py", line 40, in <module>
    conf.read()
  File "/usr/lib/pymodules/python2.6/univention/lib/share_restrictions.py", line 336, in read
    self.read_ucr()
  File "/usr/lib/pymodules/python2.6/univention/lib/share_restrictions.py", line 326, in read_ucr
    func( ucr[ key ], *match.groups() )
  File "/usr/lib/pymodules/python2.6/univention/lib/share_restrictions.py", line 301, in _set_options
    if match and share and options and value:
NameError: global name 'match' is not defined
Multifile: /etc/samba/smb.conf
Comment 1 Florian Best univentionstaff 2017-02-09 13:37:40 CET
Still with UCS 4.2
Comment 2 Florian Best univentionstaff 2017-02-17 16:55:01 CET
Patch available at Bug #34215.

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