Web lists-archives.com

[Samba] samba-tool dbcheck Unicode-Error




Hello,

we have 2 DC with Sernet Samba-packages 4.9.4 if we do a "samba-tool dbcheck" we get the following error:
----------
samba-tool dbcheck
Checking 1631 objects
ERROR(<type 'exceptions.UnicodeDecodeError'>): uncaught exception - 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128) File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 177, in _run
    return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line 157, in run
    controls=controls, attrs=attrs)
File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 222, in check_database
    error_count += self.check_object(object.dn, attrs=attrs)
File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 2315, in check_object
    expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn))

----------
As far as I figured out, it has something to do with german "Umlaute" "ÄÖÜ" in a DN. But we are in Germany and we have users with "Umlaute" in their names ;-). So how can this be fixed without renaming the object. Btw. because of the db-problem "samba-tool domain backup" isn't working.

Any hint?

Stefan
--

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba