1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-04 20:37:48 +02:00

initialize ppolicy module

This commit is contained in:
kakwa 2015-07-01 08:58:23 +02:00
parent ac7661731c
commit c302198e6e
3 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# vim:set expandtab tabstop=4 shiftwidth=4:
#
# The MIT License (MIT)
# LdapCherry
# Copyright (c) 2014 Carpentier Pierre-Francois
class Ppolicy:
def __init__(self, config, logger):
pass
def check(self, password):
ret = {'match': True, 'reason': 'no password policy'}
def info(self):
ret = "There is no password policy configured"

View file

@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# vim:set expandtab tabstop=4 shiftwidth=4:
#
# The MIT License (MIT)
# LdapCherry
# Copyright (c) 2014 Carpentier Pierre-Francois