3
0
Fork 0
forked from mirrors/nixpkgs

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 ln -sv ../../../bin/smbspool $out/lib/cups/backend/smb
mkdir -pv $out/etc/openldap/schema mkdir -pv $out/etc/openldap/schema
cp ../examples/LDAP/samba.schema $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"; + stdenv.lib.optionalString (configDir == "") "touch $out/lib/smb.conf";