SMB missing library dsdb_dns.so on 9.10.2?

Status
Not open for further replies.
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.
 

ant0nwax

Cadet
Joined
Jan 14, 2017
Messages
8
Hi Giorgio,

I added the missing file via WinSCP
after long search I found it online in samba-4.5.3-1-x86_64.pkg
it is helping a little bit, but not yet solving my issue above at the bug tracking i post my winbindd debug log
 
Last edited:

ant0nwax

Cadet
Joined
Jan 14, 2017
Messages
8
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: Shared object "libdnsserver-common-samba4.so" not found, required by "dsdb_dns.so"
 

jstam

Dabbler
Joined
Feb 12, 2017
Messages
25
I'm looking into setting up a domain controller and am looking at the bug tracking. I noticed the following:

"Missing files added in FIX-20041 branch. "samba-tool testparm" now runs correctly. I haven't tested running actual DC. If there will be still problems with samba, I can revert it back to 4.3.11."

Have any of you had a chance to check if running an actual domain controller works now?
 

ant0nwax

Cadet
Joined
Jan 14, 2017
Messages
8
Hi JSTAM

thanks for this information
if you tell me that I am able to upgrade AND revert afterwards without problems i am waiting happylly with those instructions
especially how to revert, because at the moment I had to reinstall everything, maybe I did not have a Backup?
Please advise and I will test for you, and I am aware I could read this somewhere in the internet, but thanks I am at the moment
just able to follow direct instructions...

Have a great time,
 

jstam

Dabbler
Joined
Feb 12, 2017
Messages
25
ant0nwax,

Thanks for the offer. I do not know if you will be able to revert, so it is probably best if you do not try it unless you want to reinstall everything again.

I'm currently running version 9.10.2-U1, this weekend I will give setting up the DC a try. I'll report back after the weekend with the results.
 
Status
Not open for further replies.
Top