[Samba] [Announce] Samba 4.9.0 Available for Download

miguel medalha medalist at sapo.pt
Thu Sep 13 15:17:20 UTC 2018

>> It might help if you tell us what your actual './configure' was ?

>> Something else might be pulling in the requirement for lmdb.

Here it goes:

./configure -j 8 --with-systemd --with-statedir=/usr/local/samba/var --with-privatedir=/usr/local/samba/var/private --with-logfilebase=/usr/local/samba/var/log --with-privileged-socket-dir=/usr/local/samba/var/lib

Also, after I installed lmdb and succesfully built the sofware, I ran "samba-tool dbcheck" and I got the following:

Checking 511 objects
ERROR(<type 'exceptions.UnicodeEncodeError'>): uncaught exception - 'ascii' codec can't encode character u'\xe1' in position 133: ordinal not in range(128)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 177, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run
    controls=controls, attrs=attrs)
  File "/usr/local/samba/lib64/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/lib64/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/lib64/python2.7/site-packages/samba/dbchecker.py", line 1182, in check_dn
    dsdb_dn = dsdb_Dn(self.samdb, val.decode('utf8'), syntax_oid)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/common.py", line 101, in __init__
    self.dn = ldb.Dn(samdb, self.dnstring)

After returning to Samba 4.8.5 the error disapears.

More information about the samba mailing list