<short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. libpwquality (1.4.2-1kylin16) v101; urgency=medium * BUG #65771: 用户名长度低于4时,用户名检测不生效 Gbp-Pq: Name KYLIN-user-check-minlen.patch
This commit is contained in:
parent
642d386baf
commit
c51708a379
|
@ -65,7 +65,7 @@ struct setting_mapping {
|
||||||
#define PWQ_BASE_MIN_LENGTH 1 /* used when lower than this value of min len is set */
|
#define PWQ_BASE_MIN_LENGTH 1 /* used when lower than this value of min len is set */
|
||||||
#define PWQ_NUM_CLASSES 4
|
#define PWQ_NUM_CLASSES 4
|
||||||
#define PWQ_NUM_GENERATION_TRIES 3 /* how many times to try to generate the random password if it fails the check */
|
#define PWQ_NUM_GENERATION_TRIES 3 /* how many times to try to generate the random password if it fails the check */
|
||||||
#define PWQ_MIN_WORD_LENGTH 4
|
#define PWQ_MIN_WORD_LENGTH 1
|
||||||
#define PWQ_MAX_PASSWD_BUF_LEN 16300
|
#define PWQ_MAX_PASSWD_BUF_LEN 16300
|
||||||
|
|
||||||
#ifndef PWQUALITY_DEFAULT_CFGFILE
|
#ifndef PWQUALITY_DEFAULT_CFGFILE
|
||||||
|
|
Loading…
Reference in New Issue