Bug 15943 - samba-log-parser fails with UnicodeDecodeError: 'utf-8' codec can't decode byte
Summary: samba-log-parser fails with UnicodeDecodeError: 'utf-8' codec can't decode byte
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-06 09:26 UTC by Pavel Filipenský
Modified: 2025-11-07 13:24 UTC (History)
1 user (show)

See Also:


Attachments
4.23 patch (2.55 KB, patch)
2025-11-06 09:30 UTC, Pavel Filipenský
asn: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Filipenský 2025-11-06 09:26:42 UTC

    
Comment 1 Pavel Filipenský 2025-11-06 09:28:46 UTC
This BZ is for backporting the fix below to samba-4.23:

f636bd3 2025-09-09 13:50 +0000 Pavel Filipenský   o s3:script: Avoid UnicodeDecodeError for samba-log-parser processing whole directory
Comment 2 Pavel Filipenský 2025-11-06 09:30:51 UTC
Created attachment 18769 [details]
4.23 patch
Comment 3 Andreas Schneider 2025-11-06 12:02:01 UTC
Comment on attachment 18769 [details]
4.23 patch

LGTM
Comment 4 Andreas Schneider 2025-11-06 12:02:23 UTC
Jule, please apply the patch to 4.23. Thanks!
Comment 5 Jule Anger 2025-11-06 12:42:55 UTC
Pushed to autobuild-v4-23-test.
Comment 6 Samba QA Contact 2025-11-06 15:42:04 UTC
This bug was referenced in samba v4-23-test:

3f2c25373472d67aee31b77eeb65be589f48cb7c
Comment 7 Jule Anger 2025-11-06 16:20:22 UTC
Closing out bug report.

Thanks!
Comment 8 Samba QA Contact 2025-11-07 13:24:41 UTC
This bug was referenced in samba v4-23-stable (Release samba-4.23.3):

3f2c25373472d67aee31b77eeb65be589f48cb7c