[Samba] samba-tool dbcheck: UnicodeDecodeError' with Samba 4.9.4

Stefan Kania stefan at kania-online.de
Tue Mar 5 18:41:58 UTC 2019


I had the same problem, it was the DN of one of my OU? I remplaced the
"ü" with a "ue" and everything was fine.

Am 05.03.19 um 18:10 schrieb miguel medalha via samba:
> I decided to give Samba 4.9.x a new try as AD DC in one of my servers.
> It has been running version 4.8.9. I installed version 4.9.4 and when I
> ran samba-tool dbcheck I still obtained the following error message:
> 
> ERROR(<type 'exceptions.UnicodeDecodeError'>): uncaught exception -
> 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in
> range(128)
>   File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
> line 177, in _run
>     return self.run(*args, **kwargs)
>   File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line
> 157, in run
>     controls=controls, attrs=attrs)
>   File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/dbchecker.py",
> line 222, in check_database
>     error_count += self.check_object(object.dn, attrs=attrs)
>   File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/dbchecker.py",
> line 2315, in check_object
>     expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn))
> 
> Looks like the Unicode problem with Python 2.6.x is not yet solved.
> 
> This particular machine is running CentOS 6.10. I cannot upgrade to 7.x
> yet because it has discontinued support for a particular RAID controller
> in use (IBM Megaraid, ips.ko driver).
> 
> 

-- 
Stefan Kania
Landweg 13
25693 St. Michaelisdonn


Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre
E-Mail. Weiter Informationen unter http://www.gnupg.org

Mein Schlüssel liegt auf

hkp://subkeys.pgp.net


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20190305/69fc4206/signature.sig>


More information about the samba mailing list