Unverified Commit 00000003 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nixos/portunus: use openldap compiled with libxcrypt-legacy

It hardcodes sha256 crypt and the managed slapd crash loops otherwise.
parent 750ebe74
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -107,8 +107,9 @@ in
    ldap = {
      package = mkOption {
        type = types.package;
        default = pkgs.openldap;
        defaultText = lib.literalExpression "pkgs.openldap";
        # needs openldap built with a libxcrypt that support crypt sha256 until https://github.com/majewsky/portunus/issues/2 is solved
        default = pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; };
        defaultText = lib.literalExpression "pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; }";
        description = lib.mdDoc "The OpenLDAP package to use.";
      };