from .ldap_app import PpLdapAppError, PpLdapApplication
-__version__ = '0.1.0'
+__version__ = '0.1.1'
LOG = logging.getLogger(__name__)
are existing and have administrator access.
"""
+ default_admin_group = "cn=Administratoren Pixelpark Berlin,ou=Groups,o=Pixelpark,o=isp"
+
# -------------------------------------------------------------------------
+ def __init__(self, appname=None, version=__version__):
+
+ self.admin_users = []
+ self.admin_group = self.default_admin_group
+
+ self._show_simulate_opt = True
+
+ description = textwrap.dedent('''\
+ Checking existence of all LDAP users in DNSUI database in LDAP, otherwise
+ deactivating them. Checking, that all members of the defined admin group
+ in LDAP are existing in DB and are enabled administrators.
+ ''').strip()
+
+ super(DnsuiUsersApp, self).__init__(
+ appname=appname, version=version, description=description)
+
+ self.initialized = True
+
# =============================================================================