diff --git a/pym/cl_client.py b/pym/cl_client.py index 7b2f608..aad231e 100644 --- a/pym/cl_client.py +++ b/pym/cl_client.py @@ -1877,8 +1877,11 @@ class client(share, commandServer, encrypt): # Накладываем сетевые шаблоны if domain: self.clVars.flIniFile() + beforeRemoteAuth = self.clVars.Get('os_remote_auth') if not self.applyRelevanceTemplates(domain): return False + if beforeRemoteAuth != self.clVars.Get('os_remote_auth'): + self.restartDBus() return True def updateEnvFiles(self):