Bug 52045 - Migrate univention-samba4 scripts to Python 3
Migrate univention-samba4 scripts to Python 3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Florian Best
Arvid Requate
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-16 18:06 CEST by Florian Best
Modified: 2021-05-25 16:01 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Florian Best univentionstaff 2020-09-16 18:06:22 CEST
The scripts - especially the listener module samba-shares.py - should be compatible with Python 3.
Comment 1 Florian Best univentionstaff 2020-10-20 16:28:14 CEST
univention-samba4 (9.0.2-1)
85c8b3860b32 | Bug #52045: migrate univention-samba4 scripts to Python 3

univention-samba4 (9.0.0-3)
f401865356c9 | Bug #52045: migrate scripts to Python 3
2b300e163a7d | Bug #52045 Samba shares: Migrate listener to Python 3

univention-samba (14.0.1-1)
bc5e93b90d00 | Bug #52045: migrate univention-samba scripts to Python 3

changelog-5.0-0.xml
aaa22305e638 | Changelog Bug #52045
Comment 2 Florian Best univentionstaff 2020-10-20 17:23:01 CEST
Forgot the listeners:

431603030bb6 | Bug #52045: migrate listener samba-privileges.py to Python 3
9d8c4d4d2ce5 | Bug #52045: migrate listener samba-shares.py to Python 3
Comment 3 Arvid Requate univentionstaff 2020-11-03 10:02:20 CET
One fix:

b21215e170 | Allow UTF-8 in VFS modules and pre/post exec scripts


Verified:
* Code review
* Changelog
Comment 4 Florian Best univentionstaff 2020-11-03 10:10:56 CET
(In reply to Arvid Requate from comment #3)
> One fix:
> 
> b21215e170 | Allow UTF-8 in VFS modules and pre/post exec scripts

Hm, it can't be UTF-8. The schema defines those attributes as ASCII:
/management/univention-ldap/schema/share.schema:
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
Comment 5 Arvid Requate univentionstaff 2020-11-03 10:25:01 CET
Ah, ok, this sucks. I'll revert.
Comment 6 Arvid Requate univentionstaff 2020-11-03 10:34:30 CET
Package: univention-samba
Version: 14.0.1-3A~5.0.0.202011031031

Package: univention-samba4
Version: 9.0.2-2A~5.0.0.202011031029
Comment 7 Florian Best univentionstaff 2021-05-25 16:01:10 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".