Ejemplo n.º 1
0
 def clientpasswd_vars(self,dv=None):
     if not dv:
         dv = DataVarsClient()
         dv.importClient()
         dv.flIniFile()
         dv.Set('cl_action','passwd',True)
     dv.addGroup(None,
         normal=('ur_login','ur_user_pw','ur_user_new_pw'),
         next_label=_("Change password"))
     return dv
Ejemplo n.º 2
0
 def client_sync_logout_vars(self,dv=None):
     if not dv:
         dv = DataVarsClient()
         dv.importClient()
         dv.flIniFile()
         dv.Set('cl_action','logout',True)
     dv.addGroup(None,
         normal=('ur_login','cl_client_sync'),
         next_label=_("Configure"))
     return dv
Ejemplo n.º 3
0
 def client_vars(self,dv=None):
     if not dv:
         dv = DataVarsClient()
         dv.importClient()
         dv.flIniFile()
         dv.Set('cl_action','domain',True)
         dv.Set('cl_dispatch_conf','usenew',True)
     dv.addGroup(None,
         normal=('cl_localhost_set','cl_remote_host_new',
                 'cl_remote_pw'),
         expert=('cl_client_mount_set','cl_templates_locate',
                 'cl_verbose_set','cl_dispatch_conf'),
         next_label=_("Configure"))
     return dv