Have a FreeBSD server running a samba41 domain controller that day before yesterday upgraded packages from my poudriere build server. The build in itself was fine and the packages were published, then fetched and installed in the DC. But after restarting the samba service it just printed this and then exited: [2015/08/14 08:36:34.049552, 0] ../source4/smbd/server.c:370(binary_smbd_main) samba version 4.1.18 started. Copyright Andrew Tridgell and the Samba Team 1992-2013 ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.1.21 module_version=1.1.20 ldb: failed to initialise module /usr/local/lib/shared-modules/ldb/acl.so : Unavailable [2015/08/14 08:36:34.127525, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/privilege.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.132700, 0] ../source4/smbd/server.c:488(binary_smbd_main) samba: using 'standard' process model [2015/08/14 08:36:34.144108, 0] ../lib/util/become_daemon.c:136(daemon_ready) [2015/08/14 08:36:34.148842, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.151363, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [nbtd failed to open samdb] STATUS=daemon 'samba' finished starting up and ready to serve connectionssamba_terminate: nbtd failed to open samdb [2015/08/14 08:36:34.180829, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.187111, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [cldapd failed to open samdb] [2015/08/14 08:36:34.196055, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.199996, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [kdc: krb5_init_context samdb connect failed] [2015/08/14 08:36:34.203951, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.209921, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [dreplsrv: Failed to connect to local samdb: WERR_DS_UNAVAILABLE ] [2015/08/14 08:36:34.220165, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/secrets.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.225316, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [Cannot start Winbind (domain controller): (null): Have you provisioned the INPARADISE domain?] [2015/08/14 08:36:34.234770, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.239857, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [ntp_signd failed to open samdb] [2015/08/14 08:36:34.247220, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.252213, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [kccsrv: Failed to connect to local samdb: WERR_DS_UNAVAILABLE ] [2015/08/14 08:36:34.260640, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.265095, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [dnsupdate: Failed to connect to local samdb ] [2015/08/14 08:36:34.271485, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.275158, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [dns: samdb_connect failed] [2015/08/14 08:36:34.409359, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.412637, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: Unable to find backend for '/var/db/samba4/private/sam.ldb' - do you need to set LDB_MODULES_PATH? [2015/08/14 08:36:34.415438, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [Failed to startup ldap server task] I am lucky to run the DC as a virtual machine with a backup to roll back to, otherwise that would have been horrible. SAMBA has stayed on the same version as before, 4.1.18, but i know "ldb" had a version bump 8/10 from 1.1.20 to 1.1.21. Why doesn´t SAMBA rebuild to match the new ldb versions? TIA /K
Hi! I see, where it comes from, though didn't expect there is some sort of version check in the libs. I guess, with every ldb update I have to bump revision of samba4/41 as well. Didn't really expect that... Thank you for your report! As a side note I'd suggest you to upgrade to samba42 as well.
net/samba41 has been removed from ports with r415323. Maintainer, can this bug report be closed, overcome by events?
Closing, as net/samba41 expired and is removed from the tree: https://svnweb.freebsd.org/ports?view=revision&revision=415323 Please reopen if you think this was a mistake.