[Samba] samba-tool crashes No module named 'ldb'

Mueller mueller at tropenklinik.de
Wed May 19 06:13:01 UTC 2021


Dear all,

in my fresh compiled samba 4.14.4 on fedora 34 samba-tool crashes with:
samba-tool
Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 33, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/lib64/python3.9/site-packages/samba/__init__.py", line 28, in
<module>
    import ldb
ModuleNotFoundError: No module named 'ldb'

No provision than possilble too.
The same error.

LDB is installed :

ldb-tools.x86_64                      2.3.0-1.fc34
libldb.x86_64                       2.3.0-1.fc34
python3-ldb.x86_64                     2.3.0-1.fc34
python3-ldb-devel.x86_64                  2.3.0-1.fc34
libldb-devel.x86_64                     2.3.0-1.fc34

How can I fix this?

Greetings
Daniel










More information about the samba mailing list