[Buildroot] [PATCH 2/2] samba: Add support for libnss_win*.so* installation

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Aug 4 18:28:14 UTC 2014


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" ?

Also, do we really want two separate options here?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list