I installed Armbian on my Banana Pro and upgraded to 16.04. I successfully configured various services I previously ran on Lubuntu 14.04, including nginx and bind9. However when I try to join my Samba domain as a DC, I get the following:
samba-tool domain join mydomain DC --username=administrator --use-ntvfs
Finding a writeable DC for domain 'mydomain'
Found DC dc1.mydomain
ldb: unable to stat module /usr/lib/arm-linux-gnueabihf/samba/ldb : No such file or directory
ERROR(<class 'samba.join.DCJoinException'>): uncaught exception - Can't join, error: 00002020: Operation unavailable without authentication
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 621, in run
machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1148, in join_DC
machinepass, use_ntvfs, dns_backend, promote_existing)
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 89, in __init__
raise DCJoinException(estr)
(I get the same error when I try to do samba-tool domain provision --use-rfc2307 --interactive --use-ntvfs..)
The directory /usr/lib/arm-linux-gnueabihf/samba/ldb does not exist. On an Ubuntu 16.04 running as a VM (VirtualBox) on a Windows PC there is a directory /usr/lib/x86_64-linux-gnu/samba/ldb. To me it looks there are some files missing.
Any suggestion?
Thanks, Joachim