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:
parent
4326c06319
commit
378f94f5da
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue