1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

samba: install libnss_{wins,winbind}.so

This is the first step to get WINS/NetBIOS name lookup with nsswitch.
This commit is contained in:
Bjørn Forsman 2013-08-25 18:41:35 +02:00
parent 4326c06319
commit 378f94f5da

View file

@ -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";