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

L.P.H. van Belle belle at bazuin.nl
Fri Feb 3 08:24:24 UTC 2017


Hai, 

Ok, why am "i" installing without recommends, thats very simple. 
Less packages, less problems, less bandwith, less diskspace, less updates.
And more detections of imho incorrect or to be improved dependecies. 
And lots of people install without recommends.

First of all, it was not me that install samba (ad) without the 2 extra packages, a list member.. i just commented on it to install the 2 missing.

But i do think samba is simply getting to big for a "one" samba packages. 
Why isnt there a : 
samba-ad-dc
samba-nt
samba-member
samba ( standalone )
winbind

with a better default smb.conf per samba-.. and a better dependecies set with it. 

and in comment of :
>DSDB modules aren't necessary if you're not running a AD DC server.

So why are the messages of /usr/lib/x86_64-linux-gnu/samba/ldb when i install winbind only... 

And how do  you want to put this : 
> Recommends
> 
>   This declares a strong, but not absolute, dependency.
> 
>   The Recommends field should list packages that would be found together
>   with this one in all but unusual installations.

Package wise, 
samba-ad-dc must have samba-dsdb-modules samba-vfs-modules
samba-member must have samba-vfs-modules due to acl support (acl_xattr vfs)
samba-nt	dont know, dont use nt4 setups anymore. 

winbind 	does not need samba-dsdb-modules but complains about /usr/lib/x86_64-linux-gnu/samba/ldb file missing.

samba 	does not need samba-dsdb-modules but complains about /usr/lib/x86_64-linux-gnu/samba/ldb file missing.
( in standalone )

I would suggest to use the Enhances option and with some extra packages. 
Like a samba-ad-dc with Enhances on samba-dsdb-modules samba-vfs-modules. 
Then it does exact what i needs to do. Enhances the default samba package. 

And sorry for all the noise but I just suggest the things i see, 
where people are struggeling with on the samba list.



Best regards, 

Louis


> -----Oorspronkelijk bericht-----
> Van: Jelmer Vernooij [mailto:jelmer at samba.org]
> Verzonden: donderdag 2 februari 2017 22:47
> Aan: L.P.H. van Belle
> CC: Andrew Bartlett; pkg-samba-maint at lists.alioth.debian.org
> Onderwerp: Re: [Samba] /usr/lib/x86_64-linux-gnu/samba/ldb : No such file
> or directory
> 
> [ moving to the pkg-samba-maint list, samba at samba.org to bcc ]
> 
> On Wed, Feb 01, 2017 at 01:05:38PM +0100, L.P.H. van Belle via samba
> wrote:
> > 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
> What version is that? At least in current versions, winbind depends on
> samba, and samba recommends samba-dsdb-modules. So you should get
> samba-dsdb-modules by default when you install winbind.
> 
> > 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
> DSDB modules aren't necessary if you're not running a AD DC server.
> Why are you installing without recommends? This is exactly what
> recommends is used for.
> 
> From debian policy
> (https://www.debian.org/doc/debian-policy/ch-relationships.html):
> 
> Recommends
> 
>   This declares a strong, but not absolute, dependency.
> 
>   The Recommends field should list packages that would be found together
>   with this one in all but unusual installations.
> 
> Cheers,
> 
> Jelmer
> 
> > > -----Oorspronkelijk bericht-----
> > > Van: Jelmer Vernoo?? [mailto:jelmer at samba.org]
> > > Verzonden: dinsdag 31 januari 2017 23:35
> > > Aan: Andrew Bartlett
> > > CC: L.P.H. van Belle; samba at lists.samba.org
> > > Onderwerp: Re: [Samba] /usr/lib/x86_64-linux-gnu/samba/ldb : No such
> file
> > > or directory
> > >
> > > 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
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba





More information about the Pkg-samba-maint mailing list