anchor.diff:      [ "--with-static-modules=NONE"
         "--with-shared-modules=ALL"
         "--with-system-mitkrb5"
  +      "--with-system-mitkdc" "${krb5Full}"
         "--enable-fhs"
         "--sysconfdir=/etc"
         "--localstatedir=/var"
  
positive.code: 
  stdenv.mkDerivation rec {
    name = "samba-${version}";
    version = "4.7.4";
  
    src = fetchurl {
      url = "mirror://samba/pub/samba/stable/${name}.tar.gz";
      sha256 = "0iw290n0q4l5s92d0f9yz27yp3rdfr6bvsmvg1xvd19g8p2d04pv";
    };
  
    outputs = [ "out" "dev" "man" ];
  
negative.code: { lib, stdenv, fetchurl, python, pkgconfig, perl, libxslt, docbook_xsl
  , docbook_xml_dtd_42, docbook_xml_dtd_45, readline, talloc
  , popt, iniparser, libbsd, libarchive, libiconv, gettext
  , krb5Full, zlib, openldap, cups, pam, avahi, acl, libaio, fam, libceph, glusterfs
  , gnutls, libgcrypt, libgpgerror
  , ncurses, libunwind, libibverbs, librdmacm, systemd
  
  