Web lists-archives.com

[Samba] after samba update to 4.9 GIT issue with samba-tool dbcheck




Hi all,

I have tried to update one of our samba servers from the currently installed version 4.8.6 to the latest 4.9git release. Compilation and installation went through without any errors but when I do a dbcheck before the initial start of the new version I do get the following error:

 /usr/local/samba/bin/samba-tool dbcheck --cross-ncs --verbose

.......
ERROR(<type 'exceptions.UnicodeEncodeError'>): uncaught exception - 'ascii' codec can't encode character u'\xfc' in position 302: 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)


Does anyone have an idea how to fix this ? Is this a bug or a problem with my linux/python environment ?

Thank you for your kind help.

best regards
Andreas

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