cba86e8 Add a unit test for libpwquality-based password policy

Authored and Committed by rcritten 3 years ago
    Add a unit test for libpwquality-based password policy
    
    - with all policies disabled passwords are not evaluated
    - the pwpolicy minimum overrides the existing IPA minimum
    - max character repeats
    - max character sequences (12345)
    - palindrome
    - dictionary check
    - user name in the password check
    
    https://pagure.io/freeipa/issue/6964
    https://pagure.io/freeipa/issue/5948
    https://pagure.io/freeipa/issue/2445
    https://pagure.io/freeipa/issue/298
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+1 -0
file added
+94