[Samba] SaMBa 4 - dbcheck

Celso Viana celso.vianna at gmail.com
Wed Apr 17 10:27:40 MDT 2013


Hi all,

I migrated a base Samba3 to Samba4 with "classicupgrade" and then ran the "
DBCHECK". Is returning the error bellow.

This occurs when we have accented characters in basis. How do I fix this?

root at samba: # samba-tool dbcheck
Checking 8987 objects
Conversion error: Illegal multibyte sequence(�mella xxxxxxxxxxxxx,yyyyy)
ERROR(runtime): uncaught exception - (31, 'WERR_GENERAL_FAILURE')
  File "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/samba/netcmd/dbcheck.py",
line 117, in run
    controls=controls, attrs=attrs)
  File "/usr/local/lib/python2.7/site-packages/samba/dbchecker.py", line
87, in check_database
    error_count += self.check_object(object.dn, attrs=attrs)
  File "/usr/local/lib/python2.7/site-packages/samba/dbchecker.py", line
834, in check_object
    normalised = self.samdb.dsdb_normalise_attributes(self.samdb_schema,
attrname, [val])
  File "/usr/local/lib/python2.7/site-packages/samba/samdb.py", line 623,
in dsdb_normalise_attributes
    return dsdb._dsdb_normalise_attributes(ldb, ldap_display_name,
ldif_elements)

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

Palmas/TO


More information about the samba mailing list