diff --git a/pkgs/servers/samba/default.nix b/pkgs/servers/samba/default.nix index faae21bd8a20..28d37869e7bd 100644 --- a/pkgs/servers/samba/default.nix +++ b/pkgs/servers/samba/default.nix @@ -14,24 +14,23 @@ }: stdenv.mkDerivation rec { - name = "samba-3.5.2"; + name = "samba-3.3.3"; src = fetchurl { url = "http://us3.samba.org/samba/ftp/stable/${name}.tar.gz"; - sha256 = "0pi946lyn57larvada77pkal48hc0rn07bjxpg2ahz0c389cknl2"; + sha256 = "08x3ng7ls5c1a95v7djx362i55wdlmnvarpr7rhng5bb55s9n5qn"; }; buildInputs = [readline pam openldap popt iniparser libunwind fam acl] ++ stdenv.lib.optional useKerberos kerberos; - preConfigure = "cd source3"; + preConfigure = "cd source"; postInstall = '' mkdir -pv $out/lib/cups/backend ln -sv ../../../bin/smbspool $out/lib/cups/backend/smb '' + stdenv.lib.optionalString (configDir == "") "touch $out/lib/smb.conf"; - # Don't pass --with-private-dir=/var/samba/private # --with-lockdir=/var/samba/lock # the build system will try to create it.