mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-28 10:22:16 +03:00
adding config for cache
This commit is contained in:
parent
4493fb34d3
commit
6ee98f1997
1 changed files with 1 additions and 2 deletions
|
@ -120,7 +120,7 @@ class Registration:
|
||||||
server_address, "\'" + dn + "\'", "\'" + admin_dn + "\'", "\'" + admin_password + "\'", version))
|
server_address, "\'" + dn + "\'", "\'" + admin_dn + "\'", "\'" + admin_password + "\'", version))
|
||||||
if result_code == 0:
|
if result_code == 0:
|
||||||
self.logger.info("Script has run successfully")
|
self.logger.info("Script has run successfully")
|
||||||
self.change_pam_ldap_configs()
|
self.change_pam_ldap_configs(reg_reply)
|
||||||
else:
|
else:
|
||||||
self.logger.error("Script could not run successfully: " + p_err)
|
self.logger.error("Script could not run successfully: " + p_err)
|
||||||
print("ERROR ---> " + str(p_err))
|
print("ERROR ---> " + str(p_err))
|
||||||
|
@ -134,7 +134,6 @@ class Registration:
|
||||||
|
|
||||||
|
|
||||||
def change_pam_ldap_configs(self,reg_reply):
|
def change_pam_ldap_configs(self,reg_reply):
|
||||||
|
|
||||||
server_address = str(reg_reply['ldapServer'])
|
server_address = str(reg_reply['ldapServer'])
|
||||||
dn = str(reg_reply['ldapBaseDn'])
|
dn = str(reg_reply['ldapBaseDn'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue