Web lists-archives.com

Re: [Samba] Error in samba-tool dbcheck after updating to samba-4.9.1




On 08-11-2018 21:02, Rommel Rodriguez Toirac via samba wrote:
  Hello all;
I use CentOS 7.5.1804
I update from samba-4.8.2 to samba-4.9.1 and finish with not errors, but when I run

samba-tool dbcheck --cross-ncs

I have the error:

[root@gtmad ~]# samba-tool dbcheck --cross-ncs
Checking 4087 objects
ERROR(<type 'exceptions.UnicodeEncodeError'>): uncaught exception - 'ascii' codec can't encode character u'\xe9' in position 319: ordinal not in range(128)
   File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 177, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib64/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run
     controls=controls, attrs=attrs)
   File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line 221, in check_database
     error_count += self.check_object(object.dn, attrs=attrs)
   File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line 2230, in check_object
     error_count += self.check_dn(obj, attrname, syntax_oid)
   File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line 1324, in check_dn
     v_dn = dsdb_Dn(self.samdb, v.decode('utf8'))
   File "/usr/lib64/python2.7/site-packages/samba/common.py", line 101, in __init__
     self.dn = ldb.Dn(samdb, self.dnstring)

(...)


This is a known bug:

https://bugzilla.samba.org/show_bug.cgi?id=13616



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