mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
Improve migration error message (#2959)
In this migration we have checked for legacy security_keys and not gid. This makes it easier for users to understand what the issue is.
This commit is contained in:
parent
a5cd9b5a33
commit
eee2df8894
|
@ -558,7 +558,7 @@ impl<'a> QueryServerWriteTransaction<'a> {
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
if !affected_entries.is_empty() {
|
if !affected_entries.is_empty() {
|
||||||
error!("Unable to proceed. Not all entries meet gid/uid constraints.");
|
error!("Unable to proceed. Some accounts still use legacy security keys, which need to be removed.");
|
||||||
for sk_present in affected_entries {
|
for sk_present in affected_entries {
|
||||||
error!(%sk_present);
|
error!(%sk_present);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue