Giorgio Verde
Cadet
- Joined
- Jan 12, 2017
- Messages
- 1
Hello I am new to freeNAS. I just installed 9.10.2 on a virtual machine on VSphere.
When I try to configure an Active Directory Controller I fail.
Attempting to investigate, I try on command line: samba_tool
getting the following 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/netcmd/__init__.py", line 20, in <module>
from samba import getopt as options
File "/usr/local/lib/python2.7/site-packages/samba/getopt.py", line 30, in <module>
from samba.hostconfig import Hostconfig
File "/usr/local/lib/python2.7/site-packages/samba/hostconfig.py", line 20, in <module>
from samdb import SamDB
File "/usr/local/lib/python2.7/site-packages/samba/samdb.py", line 30, in <module>
from samba import dsdb, dsdb_dns
ImportError: cannot import name dsdb_dns
It appears that the library dsdb_dns.so is absent from the python installation, but required (maybe I am wrong, I know little of Python):
/usr/local/lib/python2.7/site-packages/samba# ls *.so
_glue.so* auth.so* credentials.so* dsdb.so* messaging.so* netbios.so* policy.so* registry.so* smb.so* xattr_tdb.so*
_ldb.so* com.so* dckeytab.so* gensec.so* net.so* param.so* posix_eadb.so* security.so* xattr_native.so*
If I am right , this could be the reason for others having trouble with SMB service in 9.10.2?
Thank you for any help in solving this issue.
When I try to configure an Active Directory Controller I fail.
Attempting to investigate, I try on command line: samba_tool
getting the following 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/netcmd/__init__.py", line 20, in <module>
from samba import getopt as options
File "/usr/local/lib/python2.7/site-packages/samba/getopt.py", line 30, in <module>
from samba.hostconfig import Hostconfig
File "/usr/local/lib/python2.7/site-packages/samba/hostconfig.py", line 20, in <module>
from samdb import SamDB
File "/usr/local/lib/python2.7/site-packages/samba/samdb.py", line 30, in <module>
from samba import dsdb, dsdb_dns
ImportError: cannot import name dsdb_dns
It appears that the library dsdb_dns.so is absent from the python installation, but required (maybe I am wrong, I know little of Python):
/usr/local/lib/python2.7/site-packages/samba# ls *.so
_glue.so* auth.so* credentials.so* dsdb.so* messaging.so* netbios.so* policy.so* registry.so* smb.so* xattr_tdb.so*
_ldb.so* com.so* dckeytab.so* gensec.so* net.so* param.so* posix_eadb.so* security.so* xattr_native.so*
If I am right , this could be the reason for others having trouble with SMB service in 9.10.2?
Thank you for any help in solving this issue.