Univention Bugzilla – Attachment 10497 Details for
Bug 52057
UMC PAM stack always uses pam_cracklib, even if password/quality/mspolicy = 'sufficient'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suggested patch
Bug-52057.patch (text/plain), 1.22 KB, created by
Arvid Requate
on 2020-09-18 12:07:19 CEST
(
hide
)
Description:
Suggested patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2020-09-18 12:07:19 CEST
Size:
1.22 KB
patch
obsolete
>diff --git a/management/univention-management-console/conffiles/etc/pam.d/univention-management-console.d/80_password b/management/univention-management-console/conffiles/etc/pam.d/univention-management-console.d/80_password >index c9f6e47813..e3bad76ad6 100644 >--- a/management/univention-management-console/conffiles/etc/pam.d/univention-management-console.d/80_password >+++ b/management/univention-management-console/conffiles/etc/pam.d/univention-management-console.d/80_password >@@ -1,3 +1,11 @@ >-password requisite pam_cracklib.so >-password sufficient pam_unix.so obscure use_first_pass use_authtok >-password required pam_krb5.so use_first_pass use_authtok force_pwchange >+@!@ >+## Caution: The use_first_pass option for the second module in the stack >+## requires that there is a module before it, otherwise UMC gets "Errorcode 20:" >+ >+if configRegistry.get('password/quality/mspolicy') == 'sufficient': >+ print('password sufficient pam_unix.so obscure use_authtok') >+else: >+ print('password requisite pam_cracklib.so') >+ print('password sufficient pam_unix.so obscure use_first_pass use_authtok') >+print('password required pam_krb5.so use_first_pass use_authtok force_pwchange') >+@!@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52057
: 10497