Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] samba: Add support for libnss_win*.so* installation
Date: Mon, 4 Aug 2014 20:37:24 +0200 (CEST)	[thread overview]
Message-ID: <516153963.1672761.1407177444671.JavaMail.zimbra@advansee.com> (raw)
In-Reply-To: <20140804202814.0fb3a553@free-electrons.com>

Dear Thomas Petazzoni,

On Monday, August 4, 2014 8:28:14 PM, Thomas Petazzoni wrote:
> Dear Beno?t Th?baudeau,
> 
> On Mon,  4 Aug 2014 20:14:17 +0200, Beno?t Th?baudeau wrote:
> 
> > +config BR2_PACKAGE_SAMBA_LIBNSS_WINS
> > +	bool "libnss_wins"
> > +	default y if BR2_TOOLCHAIN_USES_GLIBC
> > +	help
> > +	  libnss_wins is a library that permits the Name Service Switch
> > +	  to resolve NetBIOS names.
> > +
> > +config BR2_PACKAGE_SAMBA_LIBNSS_WINBIND
> > +	bool "libnss_winbind"
> > +	default y if BR2_TOOLCHAIN_USES_GLIBC
> > +	help
> > +	  libnss_winbind is a library that permits the Name Service
> > +	  Switch to resolve user and group information from a Windows
> > +	  NT server.
> 
> Since libnss loadable modules only work with glibc, shouldn't those
> options simply be "depends on BR2_TOOLCHAIN_USES_GLIBC" ?

This is explained in the commit message. The libnss modules are indeed designed
for glibc, but there is nothing preventing from using them directly without
glibc (for testing or whatever), just as a normal library. This is probably not
very useful, but there is no reason to prohibit this usage.

> Also, do we really want two separate options here?

I don't know. They are independent, so keeping them separate allows to save some
space (1066244 bytes for libnss_wins.so and 38676 bytes for libnss_winbind.so on
Raspberry Pi), but this is not a strong requirement if people prefer to see them
merged.

Best regards,
Beno?t

  reply	other threads:[~2014-08-04 18:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04 18:14 [Buildroot] [PATCH 1/2] samba: Remove execution rights from smb.conf Benoît Thébaudeau
2014-08-04 18:14 ` [Buildroot] [PATCH 2/2] samba: Add support for libnss_win*.so* installation Benoît Thébaudeau
2014-08-04 18:28   ` Thomas Petazzoni
2014-08-04 18:37     ` Benoît Thébaudeau [this message]
2014-11-22 20:33   ` Thomas Petazzoni
2014-11-24 10:24     ` Gustavo Zacarias
2014-11-24 19:34       ` Thomas Petazzoni
2014-11-24 21:05         ` Benoît Thébaudeau
2014-11-24 21:09           ` Gustavo Zacarias
2014-08-04 18:27 ` [Buildroot] [PATCH 1/2] samba: Remove execution rights from smb.conf Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=516153963.1672761.1407177444671.JavaMail.zimbra@advansee.com \
    --to=benoit.thebaudeau@advansee.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox