Univention Bugzilla – Bug 41508
Traceback in UCR script samba.local.config / share_restrictions
Last modified: 2017-02-17 16:55:01 CET
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
Still with UCS 4.2
Patch available at Bug #34215. *** This bug has been marked as a duplicate of bug 34215 ***