kanidm_1_7: 1.7.3 -> 1.7.4
Changelog: https://github.com/kanidm/kanidm/releases/tag/v1.7.4
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
import ./generic.nix {
|
import ./generic.nix {
|
||||||
version = "1.7.3";
|
version = "1.7.4";
|
||||||
hash = "sha256-eptbxhbd3pUvYCncgKprh0qes9CjdvGUl3CsG/sHX7M=";
|
hash = "sha256-nWwwcRmCfKJECYN/5w30W3sDu9BqIGonF4ke8F04x3E=";
|
||||||
cargoHash = "sha256-M0TXGvpMkV/4U0MRYVqiWQsA+9AHdeS89noLxE2Llt0=";
|
cargoHash = "sha256-h5jeQxvYzHRVfNYYh9qKukE4h4nhDyuRou2xuZq4AdM=";
|
||||||
patches = [
|
patches = [ ];
|
||||||
# remove 1.7.4 - https://github.com/kanidm/kanidm/issues/3813
|
|
||||||
./a3bc718a8a0325a53e0857668b8a0134d371794d.patch
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
From a3bc718a8a0325a53e0857668b8a0134d371794d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Firstyear <william@blackhats.net.au>
|
|
||||||
Date: Sat, 16 Aug 2025 13:46:23 +1000
|
|
||||||
Subject: [PATCH] Fix account recover-disable edge case (#3796)
|
|
||||||
|
|
||||||
---
|
|
||||||
server/lib/src/idm/server.rs | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/server/lib/src/idm/server.rs b/server/lib/src/idm/server.rs
|
|
||||||
index 0fc6d78787..51bfbf6705 100644
|
|
||||||
--- a/server/lib/src/idm/server.rs
|
|
||||||
+++ b/server/lib/src/idm/server.rs
|
|
||||||
@@ -1900,6 +1900,7 @@ impl IdmServerProxyWriteTransaction<'_> {
|
|
||||||
let modlist = ModifyList::new_list(vec![
|
|
||||||
// Ensure the account is valid from *now*, and that the expiry is unset.
|
|
||||||
m_purge(Attribute::AccountExpire),
|
|
||||||
+ m_purge(Attribute::AccountValidFrom),
|
|
||||||
Modify::Present(Attribute::AccountValidFrom, v_valid_from),
|
|
||||||
// We need to remove other credentials too.
|
|
||||||
m_purge(Attribute::PassKeys),
|
|
||||||
@@ -1934,6 +1935,7 @@ impl IdmServerProxyWriteTransaction<'_> {
|
|
||||||
let modlist = ModifyList::new_list(vec![
|
|
||||||
// Ensure that the account has no validity, and the expiry is now.
|
|
||||||
m_purge(Attribute::AccountValidFrom),
|
|
||||||
+ m_purge(Attribute::AccountExpire),
|
|
||||||
Modify::Present(Attribute::AccountExpire, v_expire),
|
|
||||||
]);
|
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
"-vr"
|
"-vr"
|
||||||
"v(${lib.versions.major finalAttrs.version}\\.${lib.versions.minor finalAttrs.version}\\.[0-9]*)"
|
"v(${lib.versions.major finalAttrs.version}\\.${lib.versions.minor finalAttrs.version}\\.[0-9]*)"
|
||||||
"--override-filename"
|
"--override-filename"
|
||||||
"pkgs/by-name/ka/kanidm/${versionUnderscored finalAttrs}.nix"
|
"pkgs/servers/kanidm/${versionUnderscored finalAttrs}.nix"
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user