Browse Source

Added registired methods.

tags/3.5.0_alpha1
Самоукин Алексей 10 years ago
parent
commit
7c4a69236f
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      pym/cl_ldap_api.py

+ 5
- 4
pym/cl_ldap_api.py View File

@@ -452,14 +452,15 @@ class allMethods(Singleton, internalMethods, shareldap):
#clientVars = ["ur_organization", "ur_signature"]
#if not self.saveVarsClient(clientVars):
#return False
#self.apply_templates()
self.clVars.Write("sr_ldap_set","on",force=True)
self.printOK(_("LDAP service configured") + " ...")
return True

REGISTERED_METHODS = ['add_runlevel', 'apply_templates',
'get_pkg_name', 'get_prioritet', 'get_service_info', 'get_service_name',
'get_vars','is_runlevel', 'is_setup', 'is_start', 'restart', 'scheme', 'setup',
'start', 'stop']
REGISTERED_METHODS = ['access_pw', 'access_pw', 'add_runlevel',
'apply_templates', 'get_pkg_name', 'get_prioritet', 'get_service_info',
'get_service_name', 'get_vars', 'is_runlevel', 'is_setup', 'is_start',
'restart', 'scheme', 'setup', 'start', 'stop']

class serviceAPI(object):
"""Proxy object"""


Loading…
Cancel
Save