samba-tool py lib dependency

1 post / 0 new
#1 Sat, 2014-06-07 03:07
akar
  • akar's picture
  • Offline
  • Last seen: 3 years 9 months ago
  • Joined: 2014-06-06

I was trying setup samba-dc, but stopped at this error:

apline:~# samba-tool
Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 33, in <module>
    from samba.netcmd.main import cmd_sambatool
ImportError: No module named samba.netcmd.main

Where can I apk install the python lib dependency?

edit: tried both 2.7 and 3.0 versions.

update:
I have setup a box for recompile the APKs, then I found a depend apk is not installed by dependency:

py-samba-4.1.8-r0

It also have another depend which is not properly set:

UPDATE 13/6
param.so(actually *.so in the samba py lib dir) is not packaged in the py-samba, so still not resolved.

py-tdb

After the three more packages installed, samba-tool can not run properly.