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

Benoît Thébaudeau benoit.thebaudeau.dev at gmail.com
Wed Nov 26 00:09:24 UTC 2014


On Wed, Nov 26, 2014 at 1:00 AM, Benoît Thébaudeau
<benoit.thebaudeau.dev at gmail.com> wrote:
> The libnss_wins and libnss_winbind libraries are required in order to
> add support for the wins and winbind sources to the Name Service Switch
> (NSS), so make it possible to install them. This is useful in order to
> resolve NetBIOS names or user and group information from a Windows NT
> server.
>
> These libraries are installed to /lib/ like the standard libnss_*
> libraries from (E)GLIBC.
>
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev at gmail.com>
>
> ---
>
> Changes in v2:
> - Make BR2_PACKAGE_SAMBA_LIBNSS_WIN* depend on BR2_TOOLCHAIN_USES_GLIBC
>   and BR2_PACKAGE_SAMBA_WINBINDD.
> - Use full path for target in 'install -D'.
> - Move the definitions of the hook functions inside the corresponding
>   conditional blocks.

Note that the winbindd daemon is still not started by S91smb if
BR2_PACKAGE_SAMBA_WINBINDD is set.

Regards,
Benoît



More information about the buildroot mailing list