Bug 55400 - Do not ignore the password policy by default, only when generating passwords
Do not ignore the password policy by default, only when generating passwords
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v3-errata
Assigned To: Tobias Wenzel
Daniel Tröder
Depends on: 55392 55415
Blocks: 55393 55399
  Show dependency treegraph
Reported: 2022-11-08 13:59 CET by Tobias Wenzel
Modified: 2023-05-26 10:56 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Wenzel univentionstaff 2022-11-08 13:59:38 CET
+++ This bug was initially created as a clone of Bug #55392 +++

The school lib now has the option to validate passwords against password policies when creating / modifying users.

To keep the default behavior we nee to pass this option and add an ucr-v to enable it (default=true).
Comment 2 Tobias Wenzel univentionstaff 2022-11-11 17:10:01 CET
The behavior of the UCS@school Import can be changed by setting a ~~UCR variable~~ configuration option as can the behavior of kelvin unlike the the UMC module where we will use a UCR-V.

By default (when the ~~UCRV~~ configuration option is unset) it should be the old behavior (ignore the password policy when creating a user, but checking it when changing a user).
Comment 3 Tobias Wenzel univentionstaff 2022-11-14 09:35:49 CET
as discussed, merged + built with 

[5.0] 9ce2cbd77 Bug #55400: add option to enable password policies during user import

Package: ucs-school-import
Version: 18.0.25A~
Branch: ucs_5.0-0
Scope: ucs-school-5.0
Comment 4 Daniel Tröder univentionstaff 2022-11-14 12:56:04 CET
Merged, built, tested and advisory OK.
Comment 5 Tobias Wenzel univentionstaff 2022-11-17 16:28:37 CET
Errata updates for UCS@school 5.0 v3 have been released.


If this error occurs again, please clone this bug.