|
|
|
@ -6518,7 +6518,7 @@ Samba and Unix services") %", ".join(exclGroup)
|
|
|
|
|
self.clVars.Get('os_net_domain'))
|
|
|
|
|
self.clVars.Set("sr_samba_host",fullHostName,True)
|
|
|
|
|
clientVars = ["sr_samba_host","ld_services_dn", "ld_unix_dn",
|
|
|
|
|
"ld_bind_dn","ld_bind_pw","ld_base_dn"]
|
|
|
|
|
"ld_bind_dn","ld_bind_pw","ld_base_dn","ld_samba_dn"]
|
|
|
|
|
if not self.saveVarsClient(clientVars):
|
|
|
|
|
return False
|
|
|
|
|
self.clVars.Write("sr_samba_set","on")
|
|
|
|
@ -7190,6 +7190,10 @@ outdated. If the backup is obsolete, use cl-backup."))
|
|
|
|
|
self.clVars.Write("sr_samba_net_allow",
|
|
|
|
|
self.clVars.Get("sr_samba_net_allow"),
|
|
|
|
|
True,"local")
|
|
|
|
|
#запишем переменные для клиента
|
|
|
|
|
clientVars = ["ld_samba_dn"]
|
|
|
|
|
if not self.saveVarsClient(clientVars):
|
|
|
|
|
return False
|
|
|
|
|
if flagError:
|
|
|
|
|
return False
|
|
|
|
|
else:
|
|
|
|
@ -10043,7 +10047,8 @@ class servRepl(shareLdap):
|
|
|
|
|
"sr_mail_port", "sr_mail_send_crypt",
|
|
|
|
|
"sr_mail_send_host", "sr_mail_send_port",
|
|
|
|
|
"sr_mail_type", "sr_samba_host",
|
|
|
|
|
"ur_organization", "ur_signature"]
|
|
|
|
|
"ur_organization", "ur_signature",
|
|
|
|
|
"ld_samba_dn"]
|
|
|
|
|
# файл для удаления данных несуществущих пользователей по cron
|
|
|
|
|
replCronFile = "replcron"
|
|
|
|
|
|
|
|
|
|