ldb: module mismatch in ../source4/dsdb/sambd/lib_midules/acl.c

Posted on 2014-08-24
Last Modified: 2014-09-15
I went to run samba-tool on my Slackware 14.1, 86_64 system and got the following errors:
$ samba-tool user list
ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.1.16 module_version=1.1.17
ldb: failed to initialise module /usr/lib64/ldb/ : Unavailable
ldb: WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH?
ldb: Unable to load modules for /etc/samba/private/secrets.ldb: (null)
WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
Unable to load modules for tdb:///etc/samba/private/sam.ldb: (null)
ERROR(ldb): uncaught exception - None
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/", line 175, in _run
    return*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/", line 265, in run
    credentials=creds, lp=lp)
  File "/usr/lib64/python2.7/site-packages/samba/", line 56, in __init__
  File "/usr/lib64/python2.7/site-packages/samba/", line 114, in __init__
    self.connect(url, flags, options)
  File "/usr/lib64/python2.7/site-packages/samba/", line 71, in connect

Open in new window

The first error says, "ldb_version=1.1.16 module_version=1.1.17" This used to work and I recently updated my OS with:
$ slackpkg update
$ slackpkg upgrade-all

Open in new window

I assume therefore that ldb didn't get updated. How can I fix this? I've looked for an ldb package but can't seem to find anything on that. I probably shouldn't have updated in the first place.
Question by:jmarkfoley
    LVL 13

    Accepted Solution

    is it possible to uninstall and re-install the pkgs once again ?

    LVL 1

    Author Comment

    How would I do that? I haven't actually installed any specific packages myself. All I did was `slackpkg update` and `slackpkg upgrade-all`. I've not often used installpkg. I usually configure/make/install by-hand.
    LVL 61

    Assisted Solution

    That is the source of problem. Slackware packages will not install correctly unless you remove your handmade packages.
    LVL 1

    Author Comment

    I solved this by re-installing from scratch, then immediately doing the update. Everything worked fine then.

    I supposed things built before doing an upgrade don't necessary work. So, I'll just not do any more upgrades until I'm ready to rebuild everything -- probably when I go to the next distro release.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Suggested Solutions

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now