Problem with "samba-tool"

Andrea Venturoli ml at
Wed Sep 11 12:20:01 UTC 2019

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
> message:
> samba-tool
> 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/", line
> 28, in <module> import ldb
> ImportError: /usr/local/lib/python2.7/site-packages/ 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.


More information about the freebsd-questions mailing list