Bug 57376 - Broken smb.conf during local samba shares restriction update
Broken smb.conf during local samba shares restriction update
Status: NEW
Product: UCS
Classification: Unclassified
Component: Samba
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-06-03 14:31 CEST by Jürn Brodersen
Modified: 2024-06-03 14:33 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.046
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 Jürn Brodersen univentionstaff 2024-06-03 14:31:52 CEST
Same problem as in bug 57374

The local.config.conf is deleted here:
https://git.knut.univention.de/univention/ucs/-/blob/5.0-7/services/univention-samba/python/share_restrictions.py?ref_type=heads#L344
but the file is still included in the smb.conf. Until it is rewritten, this results in the same problem as in bug 57374:

```
>>> from samba.param import LoadParm
>>> lp = LoadParm()
>>> lp.load_default()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Unable to load default file
```

I expect that time frame to be very short, so it might not be the reason for bug 57367. Though I think it still makes sense to fix this just to make sure it is not the problem.