Bug 52198 - German/English mix in UMC password complexity check error message
German/English mix in UMC password complexity check error message
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-7-errata
Assigned To: Julia Bremer
Felix Botner
:
Depends on: 51994
Blocks:
  Show dependency treegraph
 
Reported: 2020-10-08 20:01 CEST by Arvid Requate
Modified: 2021-03-31 18:36 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.011
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020081821000751
Bug group (optional): Cleanup, Usability
Max CVSS v3 score:
requate: Patch_Available+


Attachments
fix_german_password_complexity_message.patch (1.38 KB, patch)
2020-10-08 20:01 CEST, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2020-10-08 20:01:08 CEST
Created attachment 10510 [details]
fix_german_password_complexity_message.patch

The fix for Bug 51994 didn't properly localize the following message in UMC:

"Passwort ändern fehlgeschlagen. : The password does not meet the password complexity requirements."
Comment 2 Julia Bremer univentionstaff 2021-03-24 15:02:02 CET
Successful build
Package: univention-management-console
Version: 11.0.6-10A~4.4.0.202103241418
Branch: ucs_4.4-0
Scope: errata4.4-7

e7075519b8 Bug #52198: fix translation of pwquality error message

I fixed the translation of the pwdquality check message,
as well as "contains username"
and "contains part of username"
------------------------------------------

Successful build
Package: univention-heimdal
Version: 12.0.1-5A~4.4.0.202103241421
Branch: ucs_4.4-0
Scope: errata4.4-7

f9964c00bf Bug #52198: remove cracklib call from krb.conf, not necessary and confusing

This configuration line is unnecessary and mislead support and developers on debugging this issue.  (Bug #24793)

------------------------------------------
Successful build
Package: heimdal
Version: 7.1.0+dfsg-13+deb9u3A~4.4.0.202103241352
Branch: ucs_4.4-0
Scope: errata4.4-7

I applied Arvids patch to 0001-password_sync.quilt,
to allow the errormessages "contains username" and "contains part of username" to be passed through to the umc.




TODO: 
wait for test results
Comment 6 Felix Botner univentionstaff 2021-03-25 13:21:46 CET
TODO - wait for jenkins test
TODO - merge request

OK - reproduce
OK - fixed after update (all german, specific error messages like Das Passwort enthält Teile des vollen Benutzer*innennamens.)
OK - 0001-password_sync.quilt

OK - univention-management-console.yaml
OK - heimdal.yaml
OK - univention-heimdal.yaml
Comment 7 Julia Bremer univentionstaff 2021-03-26 11:09:32 CET
Jenkins tests look good.


Build heimdal for UCS5: 
Package: heimdal
Version: 7.5.0+dfsg-3A~5.0.0.202103261107
Branch: ucs_5.0-0
* I had to change the heimdal patch a bit, to make it work with py3 c bindings.

Created merge request:
https://git.knut.univention.de/univention/ucs/-/merge_requests/80
Comment 8 Felix Botner univentionstaff 2021-03-26 13:19:25 CET
(In reply to Julia Bremer from comment #7)
> Jenkins tests look good.
> 
> 
> Build heimdal for UCS5: 
> Package: heimdal
> Version: 7.5.0+dfsg-3A~5.0.0.202103261107
> Branch: ucs_5.0-0
> * I had to change the heimdal patch a bit, to make it work with py3 c
> bindings.
> 
> Created merge request:
> https://git.knut.univention.de/univention/ucs/-/merge_requests/80

test with UCS 5 and i am not sure about the heimdal-package

-> kinit test1
test1@FIVE.TEST's Password: 
Password has expired
Your password will expire at Fri Mar 26 01:00:00 2021

Changing password
New password: 
Repeat new password: 
Error: external program failed: Traceback (most recent call last):   File "/usr/share/univention-heimdal/check_cracklib.py", line 74, in <module>     main()   File "/usr/share/univention-heimdal/check_cracklib.py", line 67, in main     pwdCheck.check(params['new-password'])   File "/usr/lib/python3/dist-packages/univention/password.py", line 143, in check     raise CheckFailed('Password does not meet the password complexity requirements.') univention.password.CheckFailed: Password does not meet the password complexity requirements. 

kinit: krb5_get_init_creds: failed changing password

is this normal?
Comment 9 Julia Bremer univentionstaff 2021-03-26 15:08:09 CET
This is a bug from Bug #50648 -> I reopened it.
Comment 10 Felix Botner univentionstaff 2021-03-26 15:31:37 CET
OK - Jenkins

OK - MR UCS 5.0( and the patch from Bug #50648)