From 6ee98f19978e13fa48d5944b147f10ef675a7262 Mon Sep 17 00:00:00 2001 From: edip Date: Wed, 2 Jan 2019 16:52:35 +0300 Subject: [PATCH] adding config for cache --- src/base/registration/registration.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/base/registration/registration.py b/src/base/registration/registration.py index 54be040..5b9ef58 100644 --- a/src/base/registration/registration.py +++ b/src/base/registration/registration.py @@ -120,7 +120,7 @@ class Registration: server_address, "\'" + dn + "\'", "\'" + admin_dn + "\'", "\'" + admin_password + "\'", version)) if result_code == 0: self.logger.info("Script has run successfully") - self.change_pam_ldap_configs() + self.change_pam_ldap_configs(reg_reply) else: self.logger.error("Script could not run successfully: " + p_err) print("ERROR ---> " + str(p_err)) @@ -134,7 +134,6 @@ class Registration: def change_pam_ldap_configs(self,reg_reply): - server_address = str(reg_reply['ldapServer']) dn = str(reg_reply['ldapBaseDn'])