1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/os-specific/linux/cifs-utils/default.nix
Peter Simons ad31fcad52 cifs-utils: revert back to version 5.6
The updated version 5.9 couldn't mount any of my shares:

  Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
  CIFS VFS: Send error in SessSetup = -13
  CIFS VFS: cifs_mount failed w/return code = -13

Apparently, this is a known problem in Windows Vista that needs to be
fixed on the server side. :-(
2013-03-05 12:14:00 +01:00

21 lines
542 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "cifs-utils-5.6";
src = fetchurl {
url = "ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/${name}.tar.bz2";
sha256 = "0f619nw1163bcmfc83mmqj31qdkl68wfm81vynx3d8q0m0k1ll7i";
};
patches = [ ./find-systemd-ask-password-via-path.patch ];
makeFlags = "root_sbindir=$(out)/sbin";
meta = {
homepage = http://www.samba.org/linux-cifs/cifs-utils/;
description = "Tools for managing Linux CIFS client filesystems";
platforms = stdenv.lib.platforms.linux;
};
}