mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 12:27:47 +02:00
adding exception regarding password checks
* exception for ppolicy match * exception for password fields don't match
This commit is contained in:
parent
a83cae5428
commit
abb651daa1
1 changed files with 10 additions and 0 deletions
|
@ -77,6 +77,16 @@ class MissingRolesFile(Exception):
|
|||
{'rolefile': rolefile}
|
||||
|
||||
|
||||
class PasswordMissMatch(Exception):
|
||||
def __init__(self):
|
||||
self.log = "password missmatch"
|
||||
|
||||
|
||||
class PPolicyError(Exception):
|
||||
def __init__(self):
|
||||
self.log = "password doesn't match ppolicy"
|
||||
|
||||
|
||||
class MissingMainFile(Exception):
|
||||
def __init__(self, config):
|
||||
self.rolefile = rolefile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue