From 378f94f5da54902e3be358e8524086e2f5e346ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 25 Aug 2013 18:41:35 +0200 Subject: [PATCH] samba: install libnss_{wins,winbind}.so This is the first step to get WINS/NetBIOS name lookup with nsswitch. --- pkgs/servers/samba/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/samba/default.nix b/pkgs/servers/samba/default.nix index 8b58bd8d2a2b..dacfa75181f3 100644 --- a/pkgs/servers/samba/default.nix +++ b/pkgs/servers/samba/default.nix @@ -68,6 +68,8 @@ stdenv.mkDerivation rec { ln -sv ../../../bin/smbspool $out/lib/cups/backend/smb mkdir -pv $out/etc/openldap/schema cp ../examples/LDAP/samba.schema $out/etc/openldap/schema + cp -v ../nsswitch/libnss_wins.so "$out/lib" + cp -v ../nsswitch/libnss_winbind.so "$out/lib" '' # */ + stdenv.lib.optionalString (configDir == "") "touch $out/lib/smb.conf";