Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Samba Domain Controller Provisioning Issue

Featured Replies

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!

  • Author

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.