summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-13 15:31:22 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-13 15:31:22 +0000
commit7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d (patch)
tree45b018ad2a5ed9e7ddc49eaf634c3d14b60112cd /pkgs/servers
parent6c133d03f69589350db573f9833bbb0c72350f1e (diff)
downloadnixlib-7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d.tar
nixlib-7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d.tar.gz
nixlib-7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d.tar.bz2
nixlib-7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d.tar.lz
nixlib-7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d.tar.xz
nixlib-7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d.tar.zst
nixlib-7ed30ce04bd09b9487ddda4b844b43d7e8f09c8d.zip
Making samba have the ldap schema in $out. And I enable parallel building.
svn path=/nixpkgs/trunk/; revision=26821
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/samba/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/samba/default.nix b/pkgs/servers/samba/default.nix
index af29fdb8d9f9..04d95464f1ac 100644
--- a/pkgs/servers/samba/default.nix
+++ b/pkgs/servers/samba/default.nix
@@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
   buildInputs = [ readline pam openldap popt iniparser libunwind fam acl ]
     ++ stdenv.lib.optional useKerberos kerberos;
 
+  enableParallelBuilding = true;
+
   preConfigure = "cd source3";
 
   configureFlags = ''
@@ -56,6 +58,8 @@ stdenv.mkDerivation rec {
   
       mkdir -pv $out/lib/cups/backend
       ln -sv ../../../bin/smbspool $out/lib/cups/backend/smb
+      mkdir -pv $out/etc/openldap/schema
+      cp ../examples/LDAP/samba.schema $out/etc/openldap/schema
     '' # */
     + stdenv.lib.optionalString (configDir == "") "touch $out/lib/smb.conf";
 }