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