Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8666af3

Browse files
committed
Update to behera ppolicy draft 11
1 parent febaf56 commit 8666af3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/ldap/controls/ppolicy.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ class PasswordPolicyError(univ.Enumerated):
4040
('insufficientPasswordQuality',5),
4141
('passwordTooShort',6),
4242
('passwordTooYoung',7),
43-
('passwordInHistory',8)
43+
('passwordInHistory',8),
44+
('passwordTooLong',9),
4445
)
45-
subtypeSpec = univ.Enumerated.subtypeSpec + constraint.SingleValueConstraint(0,1,2,3,4,5,6,7,8)
46+
subtypeSpec = univ.Enumerated.subtypeSpec + constraint.SingleValueConstraint(0,1,2,3,4,5,6,7,8,9)
4647

4748

4849
class PasswordPolicyResponseValue(univ.Sequence):

0 commit comments

Comments
 (0)