|
|
|
@ -5758,10 +5758,10 @@ outdated. If the backup is obsolete, use cl-backup."))
|
|
|
|
|
return False
|
|
|
|
|
self.printOK(_("Restored all installed services") + " ...")
|
|
|
|
|
if replServices:
|
|
|
|
|
self.printOK(_("Replication on from services (%s)")\
|
|
|
|
|
self.printOK(_("Replication on, for services (%s)")\
|
|
|
|
|
%", ".join(replServices) + " ...")
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def removeTmpFiles(self):
|
|
|
|
|
"""Удаляем временные файлы"""
|
|
|
|
|
removeFiles = [self.tmpListFile,self.archLdifFile,
|
|
|
|
@ -6788,7 +6788,7 @@ the password will be changed only for Samba account")
|
|
|
|
|
'shortOption':"v",
|
|
|
|
|
'longOption':"verbose",
|
|
|
|
|
'helpChapter':_("Common options"),
|
|
|
|
|
'help':_("displays additional information")
|
|
|
|
|
'help':_("display additional information")
|
|
|
|
|
},
|
|
|
|
|
{'progAccess':(10,),
|
|
|
|
|
'longOption':"repl",
|
|
|
|
@ -8125,7 +8125,7 @@ in the LDAP branch 'Worked'")
|
|
|
|
|
"""Включает в cron обработку файла replcron"""
|
|
|
|
|
replCronFile = os.path.join("/usr/bin",self.replCronFile)
|
|
|
|
|
fileNameCron = tempfile.mktemp(".cron")
|
|
|
|
|
warning = _("Please do not remove the line, it was added to the \
|
|
|
|
|
warning = _("Please do not remove the line, it was added by the \
|
|
|
|
|
calculate-server")
|
|
|
|
|
textCronInsert = "30 3 * * 1 %s"%replCronFile
|
|
|
|
|
listCronLines = self.execProg("crontab -l",False,False)
|
|
|
|
@ -8303,7 +8303,7 @@ file %s")%bFile)
|
|
|
|
|
return False
|
|
|
|
|
if options.has_key('off') and options.has_key('r'):
|
|
|
|
|
self.printERROR(\
|
|
|
|
|
_("You can not use the option to '--off',\
|
|
|
|
|
_("You can not use the option to '--off', \
|
|
|
|
|
together with option '-r'") + " ...")
|
|
|
|
|
return False
|
|
|
|
|
replServers = []
|
|
|
|
|