From e1b30b34446ddf3a8c608d26024351cf39246a80 Mon Sep 17 00:00:00 2001 From: edip Date: Fri, 2 Nov 2018 14:14:24 +0300 Subject: [PATCH] registarition bugfix --- src/base/registration/registration.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/base/registration/registration.py b/src/base/registration/registration.py index 91dc03e..3690f97 100644 --- a/src/base/registration/registration.py +++ b/src/base/registration/registration.py @@ -103,8 +103,9 @@ class Registration: self.logger.info('Current dn:' + dn) self.logger.info('updating host name and service') self.install_and_config_ldap(reg_reply) - #self.disable_local_users() self.update_registration_attrs(dn) + self.logger.info('Disable Users') + self.disable_local_users() except Exception as e: self.logger.error('Registartion error. Error Message: {0}.'.format(str(e))) @@ -397,6 +398,10 @@ class Registration: self.clean() self.logger.info('Ahenk conf cleaned from db') + self.logger.info('Enable Users') + self.enable_local_users() + + msgbox("Ahenk etki alanından çıkarılmıştır.")