Browse Source

Rename ldap variables.

tags/3.5.0_alpha1
Mike Hiretsky 10 years ago
parent
commit
8056e81782
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      pym/cl_ldap_api.py
  2. +2
    -2
      pym/cl_vars_ldap.py

+ 2
- 2
pym/cl_ldap_api.py View File

@@ -246,7 +246,7 @@ class internalMethods(abs_api_service, shareVars, Template):
def apply_templates(self):
'''Apply package templates'''
if self.is_setup():
self.clVars.Set("cl_ldap_update_action","up", force=True)
self.clVars.Set("ac_ldap_update","up", force=True)
return Template.applyTemplates(self)
return True

@@ -407,7 +407,7 @@ class allMethods(Singleton, internalMethods, shareldap):
os.remove(ldapFile)
self.clVars.Write("sr_ldap_set", "off",force=True)
self.clVars.Set("sr_ldap_set", "on", force=True)
self.clVars.Set("cl_ldap_setup_action","up", force=True)
self.clVars.Set("ac_ldap_setup","up", force=True)
# Первый проход
self.clVars.Set("cl_pass_step", "1", True)
if self.applyTemplates() is False:


+ 2
- 2
pym/cl_vars_ldap.py View File

@@ -75,10 +75,10 @@ class Data:
cl_ver = {'value':__version__}

# действие программа устанавливает сервис
cl_ldap_setup_action = {'value':'down'}
ac_ldap_setup = {'value':'down'}

# действие программа обновляет конфигурационные файлы
cl_ldap_update_action = {'value':'down'}
ac_ldap_update = {'value':'down'}

# include строки в slapd.conf
ld_ldap_scheme_conf = {'value':\


Loading…
Cancel
Save