ERROR(<class 'TypeError'>): uncaught exception - replace() argument 1 must be str, not bytes File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/netcmd/__init__.py", line 230, in _run return self.run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/netcmd/ldapcmp.py", line 966, in run if b1.diff(b2): ^^^^^^^^^^^ File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/netcmd/ldapcmp.py", line 790, in diff if object1 == object2: ^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/netcmd/ldapcmp.py", line 557, in __eq__ return self.cmp_attrs(other) ^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/netcmd/ldapcmp.py", line 656, in cmp_attrs p = [self.fix_domain_netbios(j) for j in m] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/netcmd/ldapcmp.py", line 656, in <listcomp> p = [self.fix_domain_netbios(j) for j in m] ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/netcmd/ldapcmp.py", line 542, in fix_domain_netbios res = res.replace(self.con.domain_netbios.lower(), self.con.domain_netbios.upper()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Patch will follow.
Created attachment 17816 [details] patch for 4.18
Comment on attachment 17816 [details] patch for 4.18 ДПЕЬ
Comment on attachment 17816 [details] patch for 4.18 LGTM
Jule, please add the patch to 4.18. Thanks!
Pushed to autobuild-v4-18-test.
This bug was referenced in samba v4-18-test: 4022ee96aef8184f7d1a4686e06113cda7e29ac3 The Samba QA Contact didn't notice because of a typo in the BUG reference in the commit message. Closing out bug report. Thanks!