[Samba] Samba 4.7.9 dbcheck error

sandy.napoles at eccmg.cupet.cu sandy.napoles at eccmg.cupet.cu
Mon Sep 24 17:38:26 UTC 2018


./samba-tool dbcheck
Checking 905 objects
ERROR(<type 'exceptions.UnicodeEncodeError'>): uncaught exception - 'ascii' codec can't encode character u'\xe1' in position 313: ordinal not in range(128)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 177, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run
    controls=controls, attrs=attrs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 221, in check_database
    error_count += self.check_object(object.dn, attrs=attrs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 2230, in check_object
    error_count += self.check_dn(obj, attrname, syntax_oid)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 1139, in check_dn
    self.check_duplicate_links(obj, attrname, syntax_oid, linkID, reverse_link_name)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 947, in check_duplicate_links
    dsdb_dn = dsdb_Dn(self.samdb, val.decode('utf8'), forward_syntax)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/common.py", line 101, in __init__
    self.dn = ldb.Dn(samdb, self.dnstring)



More information about the samba mailing list