|
|
|
@ -252,11 +252,9 @@ class Client(commandServer, encrypt, Desktop):
|
|
|
|
|
self.clVars.Delete("cl_remote_host", "local")
|
|
|
|
|
self.clVars.Delete("cl_remote_pw", "local")
|
|
|
|
|
self.clVars.Delete("os_remote_auth")
|
|
|
|
|
self.clVars.Delete("os_remote_client")
|
|
|
|
|
self.clVars.Set("cl_remote_host", "", True)
|
|
|
|
|
self.clVars.Set("cl_remote_pw", "", True)
|
|
|
|
|
self.clVars.Set("os_remote_auth", "", True)
|
|
|
|
|
self.clVars.Set("os_remote_client", "", True)
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
def mountSambaRes(self,host,userName,userPwd,res,rpath,uid=None,gid=None):
|
|
|
|
@ -1083,7 +1081,6 @@ class Client(commandServer, encrypt, Desktop):
|
|
|
|
|
# write domain to config
|
|
|
|
|
self.clVars.Write("os_remote_auth", domain, True)
|
|
|
|
|
# write current program version
|
|
|
|
|
self.clVars.Write("os_remote_client", currentVersion, True)
|
|
|
|
|
self.clVars.Write("cl_remote_host", domain, True, "local")
|
|
|
|
|
self.clVars.Write("cl_remote_pw", pwdRemote, True, "local")
|
|
|
|
|
return True
|
|
|
|
@ -1126,13 +1123,11 @@ class Client(commandServer, encrypt, Desktop):
|
|
|
|
|
self.printSUCCESS(_("The workstation is configured for work "
|
|
|
|
|
"in the domain"))
|
|
|
|
|
currentVersion = self.clVars.Get("cl_ver")
|
|
|
|
|
self.clVars.Write("os_remote_client", currentVersion, True)
|
|
|
|
|
self.clVars.Write("os_remote_auth", hostAuth, True)
|
|
|
|
|
else:
|
|
|
|
|
self.printSUCCESS(_("The workstation is configured for work "
|
|
|
|
|
"outside the domain"))
|
|
|
|
|
self.clVars.Delete("os_remote_auth")
|
|
|
|
|
self.clVars.Delete("os_remote_client")
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
def cDelLdapSysUsersAndSyncCache(self):
|
|
|
|
|