Univention Bugzilla – Bug 42809
univention-samba: cleanup share_restrictions.py
Last modified: 2020-07-03 20:51:41 CEST
Created attachment 8175 [details] code cleanup +++ This bug was initially created as a clone of Bug #26899 +++ +++ This bug was initially created as a clone of Bug #26865 +++ Various problems were found in ucs-4.1-3/services/univention-samba/python/share_restrictions.py while working on Bug #41231. Attached is a possible code cleanup. It only makes the code valid - no idea if it is also meaningful, as I don't know about its intentions! It however clear, that without the fixes some of the following UCRVs are not interpreted correctly (or at all) by the corresponding UCR-module: Script: samba.local.config.py Variables: samba/share/.*/usergroup/.*/invalid Variables: samba/share/.*/hosts/deny Variables: samba/share/.*/options Variables: samba/global/options Variables: samba/printmode/usergroup Variables: samba/printmode/hosts/.* Variables: samba/othershares/usergroup/.*/invalid Variables: samba/othershares/hosts
The patch against UCS/univention-samba uses UCR variables from UCS@school. If we need to patch univention-samba to fix Bug #41231 then the UCR variable should be registered in univention-samba.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.