|
|
|
@ -8910,10 +8910,13 @@ for running replication")%bFile)
|
|
|
|
|
return False
|
|
|
|
|
# Получим пути к ini файлам
|
|
|
|
|
iniFiles = self.clVars.Get("cl_env_path")
|
|
|
|
|
# Удаляем все ini файлы
|
|
|
|
|
# Удаляем секции настроек из всех ini
|
|
|
|
|
for iniFile in iniFiles:
|
|
|
|
|
if os.path.exists(iniFile):
|
|
|
|
|
os.remove(iniFile)
|
|
|
|
|
if "remote" in iniFile:
|
|
|
|
|
cl_base.iniParser(iniFile).delArea("client")
|
|
|
|
|
else:
|
|
|
|
|
cl_base.iniParser(iniFile).delArea("server")
|
|
|
|
|
# Получим путь к ldap файлу
|
|
|
|
|
ldapParser = iniLdapParser()
|
|
|
|
|
ldapFile = ldapParser.nameIniFile
|
|
|
|
@ -20897,7 +20900,8 @@ incompatible, use one of the options"))
|
|
|
|
|
dnsIP = ",".join(dnsIPs)
|
|
|
|
|
if not self.servDnsObj.searchZoneInLDAP(zoneName):
|
|
|
|
|
# Находим все ip DNS cервера
|
|
|
|
|
IPs = self.servDnsObj.clVars.Get("os_net_ip").split(",")
|
|
|
|
|
IPs = filter(None,
|
|
|
|
|
self.servDnsObj.clVars.Get("os_net_ip").split(","))
|
|
|
|
|
if not IPs:
|
|
|
|
|
self.printERROR(_("Can not found ip in net interfaces"))
|
|
|
|
|
return False
|
|
|
|
|