From cf347a2dc3669cdaeaa50986ca88095b77aeba22 Mon Sep 17 00:00:00 2001 From: dettlaff Date: Wed, 20 Nov 2024 21:30:56 +0400 Subject: [PATCH] fix: from kanidm to kanidmD --- nixos/module.nix | 2 +- selfprivacy_api/repositories/users/kanidm_user_repository.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/module.nix b/nixos/module.nix index cb09a88..a9a54ae 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -46,7 +46,7 @@ in pkgs.util-linux pkgs.e2fsprogs pkgs.iproute2 - pkgs.kanidm + pkgs.kanidmd ]; after = [ "network-online.target" ]; wantedBy = [ "network-online.target" ]; diff --git a/selfprivacy_api/repositories/users/kanidm_user_repository.py b/selfprivacy_api/repositories/users/kanidm_user_repository.py index 869be8b..f907dac 100644 --- a/selfprivacy_api/repositories/users/kanidm_user_repository.py +++ b/selfprivacy_api/repositories/users/kanidm_user_repository.py @@ -71,7 +71,7 @@ class KanidmAdminToken: def reset_and_save_idm_admin_password() -> str: new_kanidm_admin_password = subprocess.check_output( [ - "kanidm", + "kanidmd", "recover-account", "-c", "/etc/kanidm/server.toml",