[Bug 202315] net/samba41 ldb module version mismatch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 14 07:25:57 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202315

            Bug ID: 202315
           Summary: net/samba41 ldb module version mismatch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur at FreeBSD.org
          Reporter: Karli.Sjoberg at slu.se
          Assignee: timur at FreeBSD.org
             Flags: maintainer-feedback?(timur at FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list