The Samba-Bugzilla – Attachment 7804 Details for
Bug 9105
check_password_quality does not properly handle non-ASCII characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make password complexity rule closer to AD default
0001-make-password-complexity-rule-closer-to-AD-default.patch (text/plain), 741 bytes, created by
Arvid Requate
on 2012-08-22 09:01:39 UTC
(
hide
)
Description:
Make password complexity rule closer to AD default
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2012-08-22 09:01:39 UTC
Size:
741 bytes
patch
obsolete
>From a8ccde4133bf2581df9a3bde08624c87fe1cd16d Mon Sep 17 00:00:00 2001 >From: Arvid Requate <requate@univention.de> >Date: Wed, 22 Aug 2012 10:58:38 +0200 >Subject: [PATCH] make password complexity rule closer to AD default > >--- > lib/util/genrand.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/lib/util/genrand.c b/lib/util/genrand.c >index 72208be..5fd396f 100644 >--- a/lib/util/genrand.c >+++ b/lib/util/genrand.c >@@ -324,8 +324,7 @@ _PUBLIC_ bool check_password_quality(const char *s) > s += c_size; > } > >- return ((has_digit + has_lower + has_capital + has_special) >= 3 >- || (has_high > strlen(reals)/2)); >+ return ((has_digit + has_lower + has_capital + has_special + has_high) >= 3); > } > > /** >-- >1.7.10.4 >
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 Raw
Actions:
View
Attachments on
bug 9105
:
7798
|
7804
|
7805
|
8530