Bug 13843 - dbcheck python3 string problems
Summary: dbcheck python3 string problems
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.10.0rc4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: Samba QA Contact
Depends on:
Reported: 2019-03-19 12:23 UTC by Stefan Metzmacher
Modified: 2022-08-26 00:06 UTC (History)
3 users (show)

See Also:

Patches for v4-10-test (part1) (1.33 KB, patch)
2019-03-27 08:59 UTC, Stefan Metzmacher
metze: review? (abartlet)
npower: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2019-03-19 12:23:08 UTC
There're a view problems in dbcheck related to python3 string handling:

E.g. we use ldb.bytes and later compare them to strings without wrapping
them into str().

The err_doubled_userParameters() may not produce the desired result anymore.
Comment 1 Stefan Metzmacher 2019-03-27 08:59:15 UTC
Created attachment 15008 [details]
Patches for v4-10-test (part1)
Comment 2 Karolin Seeger 2019-05-14 12:42:25 UTC
Comment 3 Karolin Seeger 2019-05-21 09:28:27 UTC
Pushed part 1 to v4-10-test.
Re-assigning to Metze.
Comment 4 Jo Sutton 2022-08-26 00:06:02 UTC
In Samba 4.11 and above as 261ef9d5b62f0d49f858717e6d8b4b41f008efb5, closing.