Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory

1,578 views
Skip to first unread message

Felipe_G0NZÁLEZ_SANTIAG0 via samba

unread,
Jan 30, 2017, 5:50:03 PM1/30/17
to
I'm using samba4.3 from ubuntu repo. When I run the provision command. I get this error:

Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
ldb: unable to stat module /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory
Setting up secrets.ldb
ldb: unable to stat module /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory
ldb: unable to stat module /usr/lib/x86_64-linux-gnu/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 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 442, in run
nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2121, 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)

Any idea? Help?

F.

La @universidad_uci es Fidel. Los jóvenes no fallaremos.
#HastaSiempreComandante
#HastalaVictoriaSiempre
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Reindl Harald via samba

unread,
Jan 30, 2017, 6:10:02 PM1/30/17
to


Am 30.01.2017 um 23:35 schrieb Felipe_G0NZÁLEZ_SANTIAG0 via samba:
> I'm using samba4.3 from ubuntu repo. When I run the provision command. I get this error:

not a debian user but first google hit "ubuntu samba ldb"
http://packages.ubuntu.com/de/precise/amd64/samba-dsdb-modules/filelist

> Looking up IPv4 addresses
> Looking up IPv6 addresses
> No IPv6 address will be assigned
> ldb: unable to stat module /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory

L.P.H. van Belle via samba

unread,
Jan 31, 2017, 3:00:03 AM1/31/17
to
Hai,


Your missing samba-dsdb-modules in the install.
And if you need extra vfs modules, dont forget to install samba-vfs-modules

Greetz,

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-...@lists.samba.org] Namens
> Felipe_G0NZÁLEZ_SANTIAG0 via samba
> Verzonden: maandag 30 januari 2017 23:35
> Aan: sa...@lists.samba.org
> Onderwerp: [Samba] /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or
> ???La @universidad_uci es Fidel. Los jóvenes no fallaremos.

L.P.H. van Belle via samba

unread,
Jan 31, 2017, 8:20:04 AM1/31/17
to
No, its a packaging bug.

Harmless if you install the needed extra package.

 

 

Greetz,

 

Louis

 

 

 


Van: Felipe_G0NZÁLEZ_SANTIAG0 [mailto:fgon...@uci.cu]
Verzonden: dinsdag 31 januari 2017 13:59
Aan: L.P.H. van Belle; Reindl Harald
Onderwerp: Re: [Samba] /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory


 

Thanks a lot!


That works perfectly.


I installed dsdbs modules and then vfs modules.


 


Is that a samba bug ?


 


___________________________________________



Felipe_González_Santiago

Andrew Bartlett via samba

unread,
Jan 31, 2017, 1:30:03 PM1/31/17
to
On Tue, 2017-01-31 at 14:13 +0100, L.P.H. van Belle via samba wrote:
> No, its a packaging bug. 
>
> Harmless if you install the needed extra package.

Patches to the debian package (where all this started) are most
welcome. I think we need a samba-ad-dc meta package that depends on
all the right bits.

Andrew Bartlett

Jelmer Vernooij via samba

unread,
Jan 31, 2017, 5:40:02 PM1/31/17
to
On Wed, Feb 01, 2017 at 07:27:31AM +1300, Andrew Bartlett via samba wrote:
> On Tue, 2017-01-31 at 14:13 +0100, L.P.H. van Belle via samba wrote:
> > No, its a packaging bug. 
> >
> > Harmless if you install the needed extra package.
>
> Patches to the debian package (where all this started) are most
> welcome. I think we need a samba-ad-dc meta package that depends on
> all the right bits.

I'm not sure what version of the package this comment was referring
to. With the current versions in testing the samba package
recommends samba-dsdb-modules and samba-vfs-modules, which means they
get installed by default.

Cheers,

Jelmer
signature.asc

L.P.H. van Belle via samba

unread,
Feb 1, 2017, 7:10:02 AM2/1/17
to
Hai,

I saw few more, comment on it and i'll check if i can make a patch for it.

Winbind needs a fix also:
For the proxy server setup i only need winbind
apt-get install --no-install-recommends winbind
The following NEW packages will be installed:
libwbclient0 python-samba samba-common samba-common-bin samba-libs winbind

apt-get install winbind
The following NEW packages will be installed:
libwbclient0 python-samba samba-common samba-common-bin samba-libs winbind

in both cases results in log.wb-NTDOM
ldb: unable to stat module /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory

Is samba-dsdb-modules needed for a winbind only install?
Installing it fixed the log message.

Samba: ( AS MEMBER file server )
apt-get install samba
The following NEW packages will be installed:
libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules


apt-get install --no-install-recommends samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libarchive13 liblzo2-2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libwbclient0 python-samba samba-common samba-common-bin samba-libs
Suggested packages:
ctdb ldb-tools smbldap-tools winbind heimdal-clients
Recommended packages:
samba-dsdb-modules samba-vfs-modules
The following NEW packages will be installed:
libwbclient0 python-samba samba samba-common samba-common-bin samba-libs


looks to mee samba-dsdb-modules should be installed always
Ony recommended packages: samba-vfs-modules
And make samba-dsdb-modules obligated to install

For samba member thats all ok, execpt you need samba-vfs-modules to

Samba: ( as ADDC server )
apt-get install --no-install-recommends samba
i did preffer the obsolete samba-ad-dc transition package.
Where the AD DC must have samba-dsdb-modules and samba-vfs-modules to my believe.

I'll check some more, i you have other questions let me know.
Or if things are incorrect, please correct me.


Greetz,

Louis




> -----Oorspronkelijk bericht-----
> Van: Jelmer Vernoo?? [mailto:jel...@samba.org]
> Verzonden: dinsdag 31 januari 2017 23:35
> Aan: Andrew Bartlett
> CC: L.P.H. van Belle; sa...@lists.samba.org
> Onderwerp: Re: [Samba] /usr/lib/x86_64-linux-gnu/samba/ldb : No such file
> or directory
>
0 new messages