develop
asamoukin 15 years ago
parent fc2d300a0e
commit 72e05416a8

@ -430,7 +430,7 @@ class fillVars(object, cl_base.glob_attr):
return netAllow
osNetAllow = self.Get("os_net_allow")
if osNetAllow:
return "%s 127." %osNetAllow
return "%s 127." %osNetAllow.replace(","," ")
return "127."
def get_sr_mail_net_allow_pass(self):
@ -449,7 +449,7 @@ class fillVars(object, cl_base.glob_attr):
return netAllow
osNetAllow = self.Get("os_net_allow")
if osNetAllow:
return "%s, 127.0.0.0/8" %osNetAllow
return "%s, 127.0.0.0/8" %osNetAllow.replace(",",", ")
return "127.0.0.0/8"
def get_sr_samba_net_allow(self):

@ -3663,7 +3663,8 @@ if you want to continue to run the program again"))
# Создаем объект переменных
self.createClVars()
# Установка доступных сетей по умолчанию
self.clVars.Set("sr_mail_net_allow", self.clVars.Get("os_net_allow"),
self.clVars.Set("sr_mail_net_allow",
self.clVars.Get("os_net_allow").replace(",",", "),
True)
if self.clVars.Get("sr_unix_set") != "on":
@ -4931,7 +4932,8 @@ if %%errorlevel%%==0 NET USE T: \\\\%s\\ftp' %(netbios,netbios,netbios)
# Cоздаем объект переменные
self.createClVars()
# Установка доступных сетей по умолчанию
self.clVars.Set("sr_samba_net_allow", self.clVars.Get("os_net_allow"),
self.clVars.Set("sr_samba_net_allow",
self.clVars.Get("os_net_allow").replace(","," "),
True)
if options.has_key("f"):
forceOptions = True

Loading…
Cancel
Save