armdran_78 Posted March 31, 2018 Posted March 31, 2018 First of all, I'm a complete novice to Armbian so my apologies if any of the following isn't up to the standard of this board. I've just installed Armbian 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi on a Banana Pi. The same computer was previously running a domain controller under Bananian just fine. Installing Samba on Armbian works fine: r oot@Linux08:~# apt-get install samba attr Installing the packets to operate Samab as a DC also works fine: root@Linux08:~# apt-get install winbind libpam-winbind libnss-winbind libpam-krb5 krb5-config krb5-user However, attempting to provision a new Active Dirctory domain does not complete successfully. root@Linux08:/usr/lib/arm-linux-gnueabihf# samba-tool domain provision --use-rfc2307 --interactive Realm [ABCD.EFGH]: Domain [ABCD]: Server Role (dc, member, standalone) [dc]: DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]: DNS forwarder IP address (write 'none' to disable forwarding) [8.8.8.8]: Administrator password: Retype password: Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned ldb: unable to stat module /usr/lib/arm-linux-gnueabihf/samba/ldb : No such file or directory Setting up secrets.ldb ldb: unable to stat module /usr/lib/arm-linux-gnueabihf/samba/ldb : No such file or directory ldb: unable to stat module /usr/lib/arm-linux-gnueabihf/samba/ldb : No such file or directory WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH? Unable to load modules for /var/lib/samba/private/secrets.ldb: (null) ERROR(ldb): uncaught exception - None File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 462, in run nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2124, in provision backend_credentials=provision_backend.credentials, lp=lp) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 957, in setup_secretsdb secrets_ldb = Ldb(path, session_info=session_info, lp=lp) File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 115, in __init__ self.connect(url, flags, options) Can anyone provide any help? Thank you!
zador.blood.stained Posted March 31, 2018 Posted March 31, 2018 11 minutes ago, armdran_78 said: WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH? Unable to load modules for /var/lib/samba/private/secrets.ldb: (null) You did not install all the required packages, in this case - samba-dsdb-modules
armdran_78 Posted March 31, 2018 Author Posted March 31, 2018 It's actually installed, unfortunately: root@Linux08:~# apt-get install samba-dsdb-modules Reading package lists... Done Building dependency tree Reading state information... Done samba-dsdb-modules is already the newest version (2:4.5.12+dfsg-2+deb9u2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Recommended Posts