From: Frank Brehm Date: Mon, 3 Jul 2017 10:07:03 +0000 (+0200) Subject: Start changing pp_lib/mk_home_app.py X-Git-Tag: 0.1.2~172^2~3 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=ddca6e7df937d90936ac15a80b9c936bf4b445f2;p=pixelpark%2Fadmin-tools.git Start changing pp_lib/mk_home_app.py --- diff --git a/pp_lib/mk_home_app.py b/pp_lib/mk_home_app.py index ef1acce..f14656c 100644 --- a/pp_lib/mk_home_app.py +++ b/pp_lib/mk_home_app.py @@ -40,7 +40,7 @@ from .merge import merge_structure from .ldap_app import PpLdapAppError, PpLdapApplication -__version__ = '0.4.4' +__version__ = '0.4.5' LOG = logging.getLogger(__name__) @@ -200,8 +200,8 @@ class PpMkHomeApp(PpLdapApplication): def _run(self): self.get_all_user_entries() - self.check_numeric_uids() - self.check_home_dirs() + #self.check_numeric_uids() + #self.check_home_dirs() # ------------------------------------------------------------------------- def get_all_user_entries(self): @@ -227,6 +227,9 @@ class PpMkHomeApp(PpLdapApplication): 'homeDirectory': entry['homeDirectory'][0], } + if self.verbose > 2: + LOG.debug("All found user eentries from LDAP:\n{}".format(pp(self.users))) + # ------------------------------------------------------------------------- def set_new_counter(self, new_uid):