[Samba] samba-tool dbcheck Unicode-Error
L.P.H. van Belle
belle at bazuin.nl
Thu Feb 28 11:47:35 UTC 2019
Hai Stefan,
See.
https://bugzilla.samba.org/show_bug.cgi?id=13616
I think thats you problem, at least simular.
A left over from the python2 -> python3 conversion.
I dont know it this one is in the sernet packages.
Whats your ldb version? That should tell me more.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Stefan Kania via samba
> Verzonden: donderdag 28 februari 2019 12:35
> Aan: samba at lists.samba.org
> Onderwerp: [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
>
>
More information about the samba
mailing list