Problem with "samba-tool"
carmel_ny at outlook.com
Wed Sep 11 13:58:26 UTC 2019
On Wed, 11 Sep 2019 14:19:43 +0200, Andrea Venturoli stated:
>On 2019-09-11 13:17, Carmel NY wrote:
>> FreeBSD 12.0-RELEASE-p10
>> samba version 4.8.12
>> When attempting to use the 'samba-tool', I always receive this error
>> Traceback (most recent call last):
>> File "/usr/local/bin/samba-tool", line 33, in <module>
>> from samba.netcmd.main import cmd_sambatool
>> File "/usr/local/lib/python2.7/site-packages/samba/__init__.py",
>> line 28, in <module> import ldb
>> ImportError: /usr/local/lib/python2.7/site-packages/ldb.so: Undefined
>> symbol "ldb_handler_copy"
>> It doesn't make any difference what command options I use. Before I
>> ask on a dedicated 'samba support forum', I thought I would first
>> try and see if this was a localized FreeBSD problem.
>You are in good company.
>IIUIC from the comments, this won't be fixed.
>Upgrading to 4.10 will be the solution (and, in a few days or week,
>the only thing to do in any case, if you want a supported version),
>once 4.10 works properly.
I see that Samba 4.11.0rc4 is available for download on the samba site.
It is not yet ready for a production machine though. Hopefully, the
final version will be released soon. How long it will take for that to
be incorporated into the FreeBSD ports system though, is an unknown.
More information about the freebsd-questions