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/acl.so : 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/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/samba/netcmd/user.py", line 265, in run
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 56, in __init__
File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line 114, in __init__
self.connect(url, flags, options)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 71, in connect
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
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.